Question: 2 - Address Machine MOV T 1 , B SUB T 1 , C MPY T 1 , D MOV A , T 1 3
Address
Machine
MOV T B
SUB T C
MPY T D
MOV A T
Compute the total memory traffic in bytes for both instruction fetch and instruction
execution for the code that implements the expression A BCD on and
address machines. Assume opcode occupy one byte, addresses occupy two bytes, and
data values also occupy two bytes. The word length is byte. The table below shows
the four programs
Address
Machine
SUB A B C
MPY A A D
Address
Machine
LOAD B
SUB C
MPY D
STORE A
Address
Machine
PUSH B
PUSH C
SUB
PUSH D
MPY
POP A
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
