Question: ((Course: computer architecture)) In a one-byte word system, the following subset of registers/memory can be used as 8-bit operand or 8-bit address with initial values

((Course: computer architecture))

In a one-byte word system, the following subset of registers/memory can be used as 8-bit operand or 8-bit address with initial values in hex being:

RA = (7F)h, RB = (77)h, RC = (11)h, Mem[RA] = (RB)h, Mem[RB] = (RC)h

1. Perform a 16-bit sign extension of RA? Write value in hex.

2. Calculate branch target address when the following branch instruction with given offset; RC BNQ RA, RB, 8

3. Determine if there is a carry out from the addition of RA and RB?

4. What is the value of X when executing MOV X, Z instruction if Z value is obtained from;

a. Memory direct with address being RA? b. Memory indirect with address being RA? 3 c. Register direct with address being RC? d. Register indirect with address being RB?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!