Question: Question 1 : ( 3 0 points ) ( 1 0 points each to the 3 questions ) Consider an Acc - ISA CPU that

Question 1: (30 points)(10 points each to the 3 questions)Consider an Acc-ISA CPU that executes the pseudo-code shown. Do the following:... // some codewhile {(true)//loop forever... //some other code (not given)a. Create a set of 8-bit Acc-ISA instructions with 3-bit op-codes and 5-bit operands. Any of the variables A through C may be a negative 2's complement number.b. Write an assembly program using your instruction set. Also assume that the code starts from memory address 0 and increases by 1, and data starts from memory address 0x1F and decreases by 1.c. Manually assemble your assembly program and write instructions in binary and in hex. Assign op-codes to the instructions in the order they were used in the assembly program, starting from address 0.

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 Programming Questions!