Class Notes (837,487)
Canada (510,274)
CSC258H1 (46)
Lecture

mar22ce.docx

1 Page
60 Views
Unlock Document

Department
Computer Science
Course
CSC258H1
Professor
Steve Engels
Semester
Winter

Description
 Week 10 review o Q1 What signals would the control unit turn on and off in order to load a memory value into $t0  PCWrite = 0, PCWriteCond = 0  IorD = 1  MemRead = 1, MemWrite = 0  MemtoReg = 1  IRWrite = 0  PCSource = x  ALUOp = 001 (add)  ALUSrcA = 0, ALUSrcB = 2  RegWrite = 1, RegDst = 0 o Q2 What are the following assembly language instructions doing?  sub $t7, $t0, $t1  Subtract register $t1 from $t0  place the result into $t7  andi $t7, $t0, 15  Bitwise AND between register $t0 and 15 (1112 )  place the result into $t7  sra $t2, $t1, 2  2 bits arithmetic shift of register $t1 to the rig
More Less

Related notes for CSC258H1

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit