Question: Create a set of instruction code formats for a fictitious machine using the following parameters: Word length is 8 bits Instructions include ld - load

Create a set of instruction code formats for a fictitious machine using the following parameters: Word length is 8 bits Instructions

include ld - load a register from memory, st - store a register into memory, sh - shift right add, sub - addition, subtraction mul, div - multiplication, division br - branch ... if equal if negative on carry always (depends on additional two-bit code) Eight (8) 8-bit registers, %r0 through %r7 %r0 is always 0 Program counter Instruction register.

Steps: Based on the requirements above, create a set of instruction code formats, similar to the design for a 32-bit CPU discussed in class. Write a justification/explanation for each choice you make in your design. Include a discussion for your choice of machine type (3-, 2-, 1-, 0-address).

Submit: 2-5 page report that includes your set of formats, your justification/explanation, and your discussion on machine type

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!