SVC 12 (0A0C)

SYNCH or SYNCHX macro - is type 2, gets LOCAL and CMS locks.

Calls module CSVSYNCH, entry point IGC012.

GTF data is:
R15
Address of the entry point for the processing program that is to be given control.
R14
Points to a parameter list if the low order bit of register 15 is set. The parameter list is in the following format:
Bytes
Contents
0
Flag bits as follows:
     
1... .... Restore R2 - R12 at exit.
.000 00.. Reserved (must be zero).
.... ..00 Routine to receive control in 24-bit mode.
.... ..01 Addressing mode of called routine is defined via R15; if the high order bit of R15 is set, the routine receives control in 31-bit mode: otherwise, 24 bit mode.
.... ..10 Routine to receive control in 31-bit mode.
.... ..11 Routine to receive control in the addressing mode of the caller.
1
Flag bits as follows:
     
1... .... Key of called routine supplied via KEYADDR option.
.1.. .... Called routine to receive control in supervisor state.
..00 0000 Reserved (must be zero).
2
The high order 4 bits contain the key which is supplied via the KEYADDR option. The low order 4 bits must be zero.
3
Macro level - if byte 3 = 1, the parameter list includes 4 bytes for the KEYMASK field.
4
Address of a halfword containing the keymask value supplied via the KEYMASK option.
R0 and R1
Optional user parameters.