Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

R-type macros

&pagelevel(4)&pagelevel

MACRO

operand1 / (r1)

,operand2 / (r2)

A macro is of type R if all required operand values can be loaded into registers R0 and R1, which are provided for this purpose. An R-type macro does not therefore generate a parameter area.

Not all macros use both registers (e.g. the DELFEI and RSOFEI macros). The parameters may be specified directly as operands of the macro or may be contained in registers R0 and R1.

If operand1 and operand2 are specified, macro expansion causes the specified values to be loaded into registers R0 and R1.
If the registers are specified, the values of the operands operand1 and operand2 must have been loaded into registers R1 and R0 before the macro is called. This procedure is referred to as “register notation”.

Address operands in R-type macros can always be written as explicit or implicit addresses, i.e. in the form: base, index, displacement.
If the macro has only one optional operand, then any comment desired must be preceded by a “,” (comma).

Example: CLCOM ,comment