Example: Special register table

The following example shows LIST output for the special register table. The special register table has a similar format to the base locator table.


                     Special Register Table
  0015B0  01                                                     =X'1'              Table Version
  0015B1  00                                                     =X'0'              Reserved
  0015B2  0008                                                   =H'8'              Header length
  0015B4  00000006                                               =F'6'              Array byte length
  0015B8  12                                                     =X'12'             Flags & info (element  1)
  0015B9  00000018                                               =X'18'             Offset to cells
  0015BD  00                                                     =X'0'              Flags & info (end of array) 
                     Special Register Table End

Each entry in the special register table consists of the following items:
  • A byte which represents the following information:
    • Special register ID number (bits 0 - 4). ID = 1 represents the RETURN-CODE register
    • Access mode (bits 5 - 8)
      • MODE = 0; Base Address = Top of Stack
      • MODE = 1; Base Addr = NORENT Static
      • MODE = 2; Base Addr = 32-bit RENT static
      • MODE = 3; 24-bit NORENT static
  • An offset to the special register

The end of the special register table is indicated by a null byte.