Flags / Control Registers
Flags / Control Registers
- Overflow Flag (OF)
- Direction Flag (DF) - Direction to read string
- Interrupt Flag (IF)
- Trap Flag (TF) - Used by debugger
- Sign Flag (SF) - Shows the sign of the arithmetic operation
- Zero Flag (ZF) - Set to 1 if result of arithmetic operation is 1
- Auxilary Carry Flag (AF)
- Parity Flag (PF) - It contains the total number of 1 bits in arithmetic operation
- Carry Flag (CF) - Set to true if carry occurs in arithmetic operation