Previous Topic Next topic Print topic


SAVE

[label] SAVE (lit1,lit2)

,[T]

,id-name

Parameters

(lit1,lit2)
Numeric values from 0 through 15 that specify the from and to registers to save into the register save area. This area is normally pointed to by register 13.
T
Specifies that registers 14 and 15 are to be stored in word 4 and 5, respectively, of the save area.
Id-name
Specifies an identifier to be associated with the SAVE macro. If an asterisk (*) is coded, the identifier is the label associated with the SAVE macro, or, if the label field is blank, the control section name is used.

Comments

Saves the specified general-purpose registers.

lit1 is the first register to save. lit2 is the last register to save. lit1 and lit2 must be values between 0 and 15. If lit1 is greater than lit2 then the registers saved are lit1 through 15 and 0 through lit2.

Examples

SAVE (14,12)

Saves the contents of registers 14 through 15 and 0 through 12 to the register save area specified by register 13.

Previous Topic Next topic Print topic