Question: Please show all work! This problem considers instruction set architectures for three architecture styl accumulator architecture, a stack architecture, and a two-address load-store architecture. (You

 Please show all work! This problem considers instruction set architectures forPlease show all work!

This problem considers instruction set architectures for three architecture styl accumulator architecture, a stack architecture, and a two-address load-store architecture. (You can find more information about these architectures in Appendix A, Section A.2 of the text. Note that the MIPS is a three-address load-store architecture, yet another style.) Make the following assumptions about all three instruction set architectures: 3. es, an . The opcode is always one byte. . All memory addresses are two bytes All data operands are two bytes. Each architecture uses a fixed length instruction set is fixed length (every instruction used by the architecture has the same integer number of bytes). . An accumulator architecture is simple, but still used on many microcontrollers. They accumulator as one of its two inputs, and puts its result back into the accumulator. have a special working register called the accumulator; every math operation uses the Suppose that the accumulator architecture has the following assembly language instructions: LOAD Copies the data from the accumulator, writing it to memory the accumulator. at the given address. Reads the memory at the given address, adds the data read to the data in the accumulator, and writes the result in the accumulator ADD (a) How many bytes in an instruction are needed for the accumulator architecture? Support your answer by showing the fields needed in the widest instruction. (b) Write assembly language code for the high-level code fragrment C = A+B+C+D on the accumulator architecture. Try to be efficient

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!