Processor Flags Flashcards

1
Q

flags that change after arithmetic and logic instructions

A

Carry Flag
Overflow Flag
Zero Flag
Sign Flag
Auxiliary Flag
Parity Flag

COZSAP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

flags never change for any data transfer or program control operation

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the flags that set or reset on a certain number of bit or bit location?

A

Parity Flag (lower 8-bits only)
Auxiliary Flag (between bits 3 and 4)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

enables trapping through an on-chip-debugging feature

A

Trap Flag (TF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

controls the operation of the INTR (interrupt request) input pin

A

Interrupt Flag (IF)
- STI (set I flag)
- CLI (clear I flag)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

selects either the increment or decrement mode for the DI and/or SI registers during string instructions

A

Direction Flag (DF)
- STD (set direction)
- CLD (clear direction)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

occurs when signed numbers are
added or subtracted

A

Overflow Flag (OF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Priority of current task

A

Input/Output Privilege Level (IOPL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

indicates if current task is nested

A

nested task (NF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

control flags

A

interrupt flag (IF)
direction flag (DF)
trap flag (TF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

status flags

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly