An 8-bit computer has a register R. Determine the values of status bits C, S, Z, and

Question:

An 8-bit computer has a register R. Determine the values of status bits C, S, Z, and V (Fig. 8-8) after each of the following instructions. The initial value of register R in each case is hexadecimal 72. The numbers below are also in hexadecimal. 

a. Add immediate operand C6 to R. 

b. Add immediate operand 1E to R. 

c. Subtract immediate operand 9A from R. 

d. AND immediate operand 8D to R. 

e. Exclusive-OR R with R.

Fig. 8-8

V Z S C C7 F Check for zero output A 8-bit ALU F-Fo 8 Output F B 8

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: