mar15ce.docx

13 views1 pages
Published on 20 Apr 2013
School
Course
Professor
Week 9 review
o Q1 What singals would the control unit turn on and off inorder to
add $r1 to $r2 and store the result in $r7?
PCWrite = 0, PCWriteCond = X
IorD = X
MemRead = 0, MemWrite = 0
MemtoReg = X
IRWrite = 0
PCSource = x
ALUOp = 001 (add)
ALUSrcA = 1, ALUSrcB = 0
RegWrite = 1, RegDst = 1 (R-type)
o Q2 What signals would the control unit turn on and off in order to
add 100 to the program counter?
100
PCWrite = 1, PCWriteCond = X
IorD = X
MemRead = 0, MemWrite = 0
MemtoReg = X
IRWrite = 0
PCSource = 0 or 1
ALUOp = 001 (add)
ALUSrcA = 0, ALUSrcB = 2
RegWrite = 0, RegDst = X
o Q3 same as week 10 review Q1
o Q4 same as week 10 review Q2
o Q5 same as week 10 review Q3
Unlock document

This preview shows half of the first page of the document.
Unlock all 1 pages and 3 million more documents.

Already have an account? Log in

Get OneClass Grade+

Unlimited access to all notes and study guides.

YearlyMost Popular
75% OFF
$9.98/m
Monthly
$39.98/m
Single doc
$39.98

or

You will be charged $119.76 upfront and auto renewed at the end of each cycle. You may cancel anytime under Payment Settings. For more information, see our Terms and Privacy.
Payments are encrypted using 256-bit SSL. Powered by Stripe.