SVC 10, GETMAIN (R option)

Restriction: This topic applies to Windows environments only.
INPUT
Register 0
Bits Meaning
0-23 Amount of memory to obtain; always below the line
23-31 Subpool number, in the range 0 through 127, 131 and 132
OUTPUT
  • Register 1

    Address of memory obtained.

  • Register 15

    Return code:

    • 0=Memory obtained
    • 4=Memory not obtained