HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Maximum location counter value

HLASM Language Reference
SC26-4940-06

The assembler carries internal location counter values as 4 byte (31 bit unsigned) values. When you specify the NOGOFF assembler option, the assembler uses only the low-order 3 bytes for the location counter, and prints only the low-order 3 bytes in the assembly source and object code listing if the LIST(121) option is active. All 4 bytes are displayed if the LIST(133) option is active. In this case the maximum valid location counter value is 224-1.

z/VM and z/OS
When you specify the GOFF assembler option, the assembler requires the LIST(133) option, and uses the entire 4 byte value for the location counter and prints the 4 byte value in the assembly listings. In this case the maximum valid location counter value is 231-1.
If the location counter exceeds its valid maximum value the assembler issues error message
ASMA039S Location counter error

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014