Question: Consider the Acc-ISA assembly instructions: LD data (ACC

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 Memory[adrs])

Do the following:

  1. Write an assembly program for the following program:

X = -2;

Y = 6;

Z = 11;

T = X + Y Z;

  1. For the assembly instructions, draw a single-cycle instruction data path.

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!