SVC 6, LINK

Restriction: This topic applies to Windows environments only.
INPUT
  • Register 0

    Number of parameters being passed

  • Register 1

    Address of list of addresses of parameters being passed

  • Register 15

    Address of parameter list

Parameter list, 12 bytes in length.

Bytes Description
0

Flag byte:

  • 00: EP and EPLOC form of macro instruction
  • 80: DE form of macro instruction
1-3

Address of directory entry if byte 0 = 80

Address of entry point name if byte 0 = 00

4 Indicates extended parameter list if 80
5-7 DCB address or zero
8-11 Contains address of routine to get control on error (ERRET parameter) if byte 4 = 80