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

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

What is the condition Code Register?

A

The low-order byte of the STATUS REGISTER.

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

What does the high-order byte of the SR hold?

A

information for systems programming.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

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

What happens when you SET a portion of the CCR?

A

the bit is assigned value 1.

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

What happens if you CLEAR a bit in CCR?

A

The bit is assigned 0.

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

What happens if a bit is unaffected in the CCR?

A

it keeps its former value.

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