Question: 2. (20 points) Consider the five operations in the table below. Operands are signed 4-bit numbers. Complete the table by showing the effect of the

2. (20 points) Consider the five operations in the table below. Operands are signed 4-bit numbers. Complete the table by showing the effect of the operation on each of the 4 status bits NZVC. (Assume a Pep-9 implementation of shift operations.) Possible table entries are The operation sets the bit to 1 - show this as Y The operation sets the bit to 0-show this as N The operation can have no effect on this bit - show this as NA Operation 011 1001 1010 AND 1101 Arithmetic left shift (1100) 1001 XOR 1001 Arithmetic right shift (0001)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
