Question: Consider the following pseudo assembly code for computing c = a + b . Assume that a , b , and c are assigned to
Consider the following pseudo assembly code for computing Assume that
and c are assigned to consecutive mentory "words" memory is generalify
addressed byte by byte and assume that a word is bytes and address for is
A so we have and at the starting time. Assume
that the first instruction of the code is stored in x Also, each instruction has
the opcode in the first byte most significant byte and the remaining bytes specify
the correspond ng address, The opcode for store is load is and add is
load a
Oxc add b
Orb store c
a Show the menory addresses and contents for all the instructions and data involved.
Use the format as follows to express your answer fut the foliowing is not the answer
For a cata, use hexadecimal representat on Marks
nit
Addresses conterts
Oxc
Oxx
b Write the micro structions for the code segment. Assume that current PC
program counter is rob For each micromstruction, also indicate the data
that is translerred of a is a merrory access For all data, use the hexadecimal
representation. The following wrethe finst two micro wintructions and the data
transtered Comp ele the rest Marks
MetsiOndar Asoesument et
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
