



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to exam three for the computer engineering course ece 2030 i at the university of x, given in fall 2003. The exam covers various topics such as state machines, memory systems, instruction formats, datapath elements, and microcode. Students can use this document as a study resource to review the concepts and understand the solutions to the exam problems.
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




coin inserted C1 C nickel 0 1 dime 1 0 quarter 1 1
00
01
10
C0 /
11
0 cents
5 cents
10 cents
15 cents
C1 C0 /
C1 C0 / P
C0; C1 C0 /
C1 C0 /
C0 / C0 /
C1 /
C1 /
C1 /
C1 / P
# X Y Z rwe im en
im va au en
-a /s
lu en
lf su en
st ld en
st en
r/ -w
m sel
description
1 x 7 5 1 0 x 0 x 1 C 0 x 0 0 x (^0) R5 ← R
1 7 x 5 1 0 x 0 x 1 A 0 x 0 0 x (^0) R5 ← R
1 7 x 5 1 1 0 1 0 0 x 0 x 0 0 x 0 R5 ← R7+
1 7 0 5 1 0 x 1 0 0 x 0 x 0 0 x 0 R5 ← R7+R (assumes R0 = 0)
1 7 x 5 1 1 0 0 x 1 E 0 x 0 0 x (^0) R5 ← R7 or 0
# X Y Z rwe im en
im va au en
-a /s
lu en
lf su en
st ld en
st en
r/ -w
m sel
description
1 9 9 9 1 0 x 1 1 0 x 0 x 0 0 x (^0) R9 ← R9 – R
1 0 0 9 1 0 x 1 0 0 x 0 x 0 0 x (^0) R9 ← R0 + R (assumes R0 = 0)
# X Y Z rwe im en
im va au en
-a /s
lu en
lf su en
st ld en
st en
r/ -w
m sel
description
1 x x 4 1 1 0xA29 0 x 1 C 0 x 0 0 x 0 R4 ← 0xA
2 4 5 x 0 0 x 0 x 0 x 0 x 0 1 0 1 (R4) ← R
# X Y Z rwe im en
im va au en
-a /s
lu en
lf su en
st ld en
st en
r/ -w
m sel
description
1 x x 4 1 1 0x917 0 x 1 C 0 x 0 0 x (^0) R4 ← 0x
2 4 x 8 1 0 x 0 x 0 x 0 x (^1 0 1 1) R8 ← (R4)
3 8 x 3 1 1 0xFFFD 0 x 0 x 1 0/1 0 0 x (^0) R3 ← R8 ash - (or lsh)
4 3 8 3 1 0 x 1 0 0 x 0 x 0 0 x 0 R3 ← R3 + R