SVC 8, LOAD

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

    Return code:

OUTPUT
  • Register 0

    Load address of module. The high-order bit is set to indicate the AMODE setting of the loaded module:

    0=AMODE(24)

    1=AMODE(31).

  • Register 1

    Length of program module.

  • Register 15

    Return code:

    • 0=Successful
    • 1=Module size exceeds available memory
    • 4=Module not found
    • 8=Not enough memory available
Note: The module is loaded above or below the line depending on its RMODE setting.