FSAVE


 

The FSAVE stores the current status of all the Condition Flags EQUAL (or ZERO), LESS and OVER, plus the current Function Flag (if set) on the flag stack for later retrieval. The instruction uses the following format:

 

 

[label]

FSAVE

 

Where:

label

Optional. A Program Execution Label.

Flags Affected: NONE

Note the following:

  1. The amount of memory set aside for the storing of the Flags allows seven executions of the FSAVE before previously saved Flags are overwritten.

  2. The Flags are stored on top of the previously saved flags in a Last In - First Out (LIFO) fashion similar to the CALL instruction.

 

 

See Also: FRESTORE, FLAGSAVE, FLAGRESTORE, Program Control Instructions

 



PL/B Language Reference FRESTORE FUNCTION