HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Invoking the HLASM Services Interface

HLASM Programmer's Guide
SC26-4941-06

Use the following steps to invoke a service:
  1. General Purpose Register 1 must point to the HLASM Services Interface block.
  2. Set the service request type, the number of argument words, and the argument words in the HLASM Services Interface block, as described for the service you are requesting.
  3. General Purpose Register 15 is the entry point to all HLASM Services Interface services. Its address is placed in the HLASM Services Interface block by HLASM. The AMODE (high order) bit set on the service entry-point address in the HLASM Services Interface Block.
  4. General Purpose Register 14 contains the return address to the service requester. The assembler resets the caller's AMODE mode back to what was provided at entry.
  5. All registers are restored by HLASM on return.

The supported services and their service-interface descriptions are shown below.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014