Define your registers like this:

R0       EQU   0,,,0
R1       EQU   1,,,1
etc.

Then you can use the HLASM SYSATTRP built-in function to access the value
of the register symbol and see if it's odd, zero, or anything else you
don't want to allow.

- mb

Mark Boonie
z/TPF Development

Reply via email to