Processor Flags Flashcards
flags that change after arithmetic and logic instructions
Carry Flag
Overflow Flag
Zero Flag
Sign Flag
Auxiliary Flag
Parity Flag
COZSAP
flags never change for any data transfer or program control operation
True
What are the flags that set or reset on a certain number of bit or bit location?
Parity Flag (lower 8-bits only)
Auxiliary Flag (between bits 3 and 4)
enables trapping through an on-chip-debugging feature
Trap Flag (TF)
controls the operation of the INTR (interrupt request) input pin
Interrupt Flag (IF)
- STI (set I flag)
- CLI (clear I flag)
selects either the increment or decrement mode for the DI and/or SI registers during string instructions
Direction Flag (DF)
- STD (set direction)
- CLD (clear direction)
occurs when signed numbers are
added or subtracted
Overflow Flag (OF)
Priority of current task
Input/Output Privilege Level (IOPL)
indicates if current task is nested
nested task (NF)
control flags
interrupt flag (IF)
direction flag (DF)
trap flag (TF)
status flags
carry flag (CF)
parity flag (PF)
auxiliary flag (AF)
zero flag (ZF)
sign flag (SF)
overflow flag (OF)
nested task (NF)
input/output privilege level (IOPL)