Question: Consider the Acc-ISA assembly instructions LD data (ACC data), LD (adrs) (ACC Memory[adrs]), ST (adrs) (Memory[adrs] ACC), ADD (adrs) (ACC ACC + Memory[adrs]), XOR (adrs)
Consider the Acc-ISA assembly instructions LD data (ACC data), LD (adrs) (ACC Memory[adrs]), ST (adrs) (Memory[adrs] ACC), ADD (adrs) (ACC ACC + Memory[adrs]), XOR (adrs) (ACC ACC M[adrs]). Do the following:
a. Write an assembly program for the following program:
X = -2; Y = 6; Z = 11; T = X + Y - Z;
b. For the assembly instructions, draw a single-cycle instruction data path.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
