LINEDIT !lacro HEX, expression
converts the given expression to graphic hexadecimal format and
substitutes it in the message text. The expression may be a
symbolic address or symbol equate; it is evaluated by means of a
LOADADDRESS (LA) instruction. For example, if your program has a
labelBUFF1, the line:
LINEDITTEXT='BUFFER IS LOCATED AT •••••• ',SUB=(HEX,BUFP1) miqht result in the display: BUFFER IS LOCATED AT 0201AC. If vou code fewer than eight periods in the message text, leading are truncated; leading zeros are not suppressed.
DEC,(req) converts the value in the specified register into graphic deciaal
format and substitutes it in the message text. Leading zeros are
suppressed. If the number is negative, a leadingminus sign is
inserted. For example, if register 3 contains the decimal value10,345, then the macro instruction:
LINEDITTEXT=' REG 3 = •••••• ', SUB= (DEC, (3») results in the line:
REG 3 =10345. DEC, expression
converts the given expression to graphic decimal format and
substitutes it in the message text. The expression may be a
symbolic label in your program or a symbol equate.For example, if program contains the statement: VALUE EQU 2003 then the macro instruction:
LINEDITTEXT='VALUE IS •••••• ',SUB=(DEC,VALUE+5) results in the display: VALUE IS 2008. HEXA,address converts the fullword at the specified address to graphic heradecimal format and substitutes it in the message text. If you
code fewer than eight periods in the message text, leading digits
are truncated; leading zeros are not removed. For example, if you
coda:
LINEDITTEXT='HEX VALUE IS ••••• ·,SUB=(HEXA,CODE) then the last five hexadecimal digits of the fullword at the label
CODE are substituted into the message text.
HEXA, (reg)
converts the fullword at the address indicated in the specifiedreqister into graphic hexadecimal format and substitutes it in the
message text. For example, if you code:
LINEDITTEXT='REGISTER 5 -> •••••• ·,SUB=(HEXA,(5») section 6. C!lS !lacro Instructions 323
converts the given expression to graphic hexadecimal format and
substitutes it in the message text. The expression may be a
symbolic address or symbol equate; it is evaluated by means of a
LOAD
label
LINEDIT
DEC,
format and substitutes it in the message text. Leading zeros are
suppressed. If the number is negative, a leading
inserted. For example, if register 3 contains the decimal value
LINEDIT
REG 3 =
converts the given expression to graphic decimal format and
substitutes it in the message text. The expression may be a
symbolic label in your program or a symbol equate.
LINEDIT
code fewer than eight periods in the message text, leading digits
are truncated; leading zeros are not removed. For example, if you
coda:
LINEDIT
CODE are substituted into the message text.
HE
converts the fullword at the address indicated in the specified
message text. For example, if you code:
LINEDIT