>>-+--------+--$AMODE--+----------------+--+----------------+--->
'-symbol-' +-mode-----------+ '-,POPR--=--R--n-'
'-PUSHR--=--R--n-'
.-R15--.
>--,R--=--+-R--n-+--+--------------------------+---------------><
'-,RELATED--=--char-string-'
- mode
- Specifies the addressing mode to be used by the code that follows
this macro until it is again specified. This is a positional parameter
and must be specified if PUSHR= is also specified. Do not use this
operand if POPR= is specified.
- 24
- Specifies 24-bit addressing mode.
- 31
- Specifies 31-bit addressing mode.
- PUSHR=
- Specifies a register to be used to store the current addressing
mode. If mode is specified, this keyword is also required.
Note: Do
not enclose the specified register in parenthesis.
- POPR=
- Specifies a register to be used to restore the previous addressing
mode. The register specified here must have been previously loaded
by a $AMODE mode PUSHR= instruction. Do not specify this keyword if
mode and PUSHR= are specified.
Note: Do not enclose the specified
register in parenthesis.
- R=
- Specifies a work register to be used by this macro instruction.
Register 15 is the default.
Note: Do not enclose the specified register
in parenthesis.
- RELATED=
- Specifies a character string used to self-document this macro
instruction call. Any specification type value for macro keywords
can be used here. This field is useful for documenting the inline
pairing of $AMODE macros.