A relative mode branch type of instruction is stored in memory at an address equivalent to decimal

Question:

A relative mode branch type of instruction is stored in memory at an address equivalent to decimal 750. The branch is made to an address equivalent to decimal 500. 

a. What should be the value of the relative address field of the instruction (in decimal)? 

b. Determine the relative address value in binary using 12 bits. (Why must the number be in 2's complement?) 

c. Determine the binary value in PC after the fetch phase and calculate the binary value of 500. Then show that the binary value in PC plus the relative address calculated in part (b) is equal to the binary value of 500.

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

Step by Step Answer:

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