Home / Expert Answers / Computer Science / a-an-acc-isa-cpu-executes-the-following-instructions-using-3-bit-op-codes-and-5-bit-address-or-2-pa373

(Solved): A) An Acc-ISA CPU executes the following instructions using 3-bit op-codes and 5-bit address or 2 ...



A) An Acc-ISA CPU executes the following instructions using 3-bit op-codes and 5-bit address or 2’s complement data. Do the following:

LD address //Acc ? Memory [address], read from LM2

LD data //Acc ? data (a 2’s complement number, sign extended)

ADD data //Acc ? Acc + data (data is a 2’s complement number, sign extended)

SUB data //Acc ? Acc - data (data is a 2’s complement number, sign extended)

ADD (address) //Acc ? Acc + Memory[address]

STM (address) //M[address] ? Acc

SUB (address) //Acc ? Acc - Memory[address]

JMP address //PP ? address

JZ address

  1. Draw a data path for the CPU assuming the DM has separate input and output bus as in the data path shown in Fig. 8.7. Do not include additional data paths not used by the instructions.

PLease Use this template and complete the missing parts: Chapter 8: Acc-ISA PI
Guide to HWH8: The Acc-ISA single-cycle data path to execute the program
8.3 An Acc-ISA CPU executes-th

Chapter 8: Acc-ISA PI Guide to HWH8: The Acc-ISA single-cycle data path to execute the program 8.3 An Acc-ISA CPU executes-the-following instruetions-using 3-bit op-codes and 5-bit address or 2's complement data. Do the following: LD address Memory [address], read from LM2 LD data data (a 2 's complement number, sign extended) ADD data data (data is a 2 's complement number, sign extended) SUB data -data (data is a 2 's complement number, sign extended) ADD (address) Memory[address] STM (address) //M[address] SUB (address) - Memory[address] JMP address address JZ address II PP ? address (if result of the operation was zero). a) Draw a data path for the CPO assuming the DM has separate input and output bus as in the data path shown in Fig. 8.7. Do not include additional data paths not used by the instructions. (15 pts)


We have an Answer from Expert

View Expert Answer

Expert Answer



In General terms CPU consists of 3 units 1:Memory unit 2:control unit 3: Arithmetic logical unit
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe