Unformatted text preview:

CS365 1CS365 Assignment 2 100 points In this assignment, we add a new instruction, ld++, to YH16. Opcode = 100100 Assembly: ld++ rs, rt Result: rt ← Memory[rs++]Name:GMU ID:CS365 2Question 1 (30 points): Create a program that uses ld++ to perform Mem[F0F2] = Mem[F0F0] + Mem[F0F1] ld, ldi and sti not allowed100010011002100310041005100610071008100AAssembly codeMachine code100B100CCS365 3Question 2 (50 points): Give cycle-by-cycle activities of ld++CS365 4Question 3: (20 points) Give the control signals of the last cycle of ld++, according to your answers to Question 2.ALUWrite EnablesA BPCRFIRMDRCRWMultiplexer Controls1 2


View Full Document

MASON CS 365 - Assignment 2

Download Assignment 2
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Assignment 2 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Assignment 2 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?