Question: Consider the two 8-bit numbers A = 01000001 and B = 10000100. a. Give the decimal equivalent of each number assuming that (1) they are

Consider the two 8-bit numbers A = 01000001 and B = 10000100. 

a. Give the decimal equivalent of each number assuming that (1) they are unsigned, and (2) they are signed. 

b. Add the two binary numbers and interpret the sum assuming that the numbers are (1) unsigned, and (2) signed. 

c. Determine the values of the C, Z, S, and V status bits after the addition. 

d. List the conditional branch instructions from Table 8-11 that will have a true condition.

Table 8-11

Mnemonic BZ BNZ BC BNC BP BM BV BNV   BLO BLOE TABLE 8-11 Conditional Branch Instructions BE BNE Branch

Mnemonic BZ BNZ BC BNC BP BM BV BNV BLO BLOE TABLE 8-11 Conditional Branch Instructions BE BNE Branch condition BGT BGE BLT BLE BE BNE Branch if zero Branch if not zero Unsigned compare conditions (A - B) Branch if higher Branch if higher or equal Branch if lower Branch if lower or equal Branch if equal Branch if not equal Branch if carry Branch if no carry Branch if plus Branch if minus Branch if overflow Branch if no overflow Signed compare conditions (A - B) Branch if greater than Branch if greater or equal Branch if less than Branch if less or equal Branch if equal Branch if not equal Tested condition Z = 1 Z = 0 C = 1 C=0 S=0 S = 1 V = 1 V=0 A > B A B A

Step by Step Solution

3.31 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets go through each part of your question a Decimal Equivalent of A and B Assuming they are unsigne... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer System Architecture Questions!