Question: The program in a computer compares two signed 2s complement numbers A and B by performing subtraction A - B and updating the status bits.
The program in a computer compares two signed 2s complement numbers A and B by performing subtraction A - B and updating the status bits. For operands let A = 11011010 and B = 01110110,
(a) Evaluate the difference and interpret the binary result.
(b) Determine the value of status bits N (sign), Z (zero), and V (overflow).
(c) List the conditional branch instructions from Table 9-10 that will have a true condition.
Table 9-10

Conditional Branch Instructions for Signed Numbers Branch Condition Branch if greater Branch if greater or equal Branch if less Branch if less or equal Branch if equal Branch if not equal Mnemonic BG BGE BL BLE BE BNE Condition A > B AZ B A
Step by Step Solution
There are 3 Steps involved in it
Here are the answers to your questions a The difference after performing A B 110... View full answer
Get step-by-step solutions from verified subject matter experts
