Week 10 - 5.1 The Condition Code Register Flashcards
1
Q
Where does a CPU register keep a record of arithmetic indicators such as sign and overflow?
A
The condition Code Register
2
Q
What is the condition Code Register?
A
The low-order byte of the STATUS REGISTER.
3
Q
What does the high-order byte of the SR hold?
A
information for systems programming.
4
Q
What’s in the CCR?
A
5 single-bit flags that monitor the sign, presence of overflow, carry, and if a zero resulted from operation.
5
Q
What happens when you SET a portion of the CCR?
A
the bit is assigned value 1.
6
Q
What happens if you CLEAR a bit in CCR?
A
The bit is assigned 0.
7
Q
What happens if a bit is unaffected in the CCR?
A
it keeps its former value.