【汇编语言】标志位及其含义
标志位名称 | 0 | 1 | |
---|---|---|---|
OF (Overflow Flag) | NV (Not oVerflow) | OV (OVerflow) | |
DF (Direction Flag) | DN (DowN) | UP (UP) | |
IF (Interrupt Flag) | EI (Enable Interupt) | DI (Enable Interupt) | |
SF (Sign Flag) | PL (POsitive) 这个有点特殊就把他当成PO看 | NG (NeGative) | |
ZF (Zero Flag) | NZ (Not Zero) | ZR (ZeRo) | |
AF (Auxiliary Carry Flag) | NA (Not Auxiliary carry) | AC (Auxiliary Carry) | |
PF (Parity Flag) | PO (Parity Odd) | PE (Parity Even) | |
CF (Carry Flag) | NC (No Carry) | CY (CarrY) |
Overflow of = OV NV [No Overflow]
Direction df = DN (decrement) UP (increment)
Interrupt if = EI (enabled) DI (disabled)
Sign sf = NG (negative) PL (positive)
Zero zf = ZR [zero] NZ [ Not zero]
Auxiliary Carry af = AC NA [ No AC ]
Parity pf = PE (even) PO (odd)
Carry cf = CY [Carry] NC [ No Carry]
*==============*
The individual abbreviations appear to have these meanings:
OV = OVerflow, NV = No oVerflow. DN = DowN, UP (up).
EI = Enable Interupt, DI = Disable Interupt.
NG = NeGative, PL = PLus; a strange mixing of terms due to the
fact that 'Odd Parity’is represented by PO (rather than
POsitive), but they stil could have used ‘MI’ for MInus.
ZR = ZeRo, NZ = Not Zero.
AC = Auxiliary Carry, NA = Not Auxiliary carry.
PE = Parity Even, PO = Parity Odd. CY = CarrY, NC = No Carry.