Publication 1747-RM001G-EN-P - November 2008
SLC Status File B-5
Table B.2 Status File Functions
Address Classification Description Fixed
5/01
5/02 5/03 5/04 5/05
S:0 Arithmetic and Scan Status Bits
The arithmetic flags are assessed by the processor following
the execution of any math, logical, or move instruction. The
state of these bits remains in effect until the next math,
logical, or move instruction in the program is executed.
•••••
S:0/0 Status Carry Bit
This bit is set by the processor if a mathematical carry or
borrow is generated. Otherwise the bit remains cleared. This
bit is assessed as if a function of unsigned math.
•••••
When a STI, I/O Slot, or Fault Routine interrupts normal
execution of your program, the original value of S:0/0 is
restored when execution resumes.
••••
When a DII interrupts normal execution of your program, the
original value of S:0/0 is restored when execution resumes.
•••
S:0/1 Status Overflow Bit
This bit is set by the processor when the result of a
mathematical operation does not fit in its destination.
Otherwise the bit remains cleared. Whenever this bit is set,
the overflow trap bit S:5/0 is also set. Refer to S:5/0.
•••••
When a STI, I/O Slot, or Fault Routine interrupts normal
execution of your program, the original value of S:0/1 is
restored when execution resumes.
••••
When a DII interrupts normal execution of your program, the
original value of S:0/1 is restored when execution resumes.
•••
S:0/2 Status Zero Bit
This bit is set by the processor when the result of a math,
logical, or move instruction is zero. Otherwise the bit remains
cleared.
•••••
When a STI, I/O Slot, or Fault Routine interrupts normal
execution of your program, the original value of S:0/2 is
restored when execution resumes.
••••
When a DII interrupts normal execution of your program, the
original value of S:0/2 is restored when execution resumes.
•••