CS 220 - More Chapter 2 Solutions
-
- 2.10.4: a)
0x21080000
- 2.10.4: b)
0xAD490020
- 2.10.5: a) I type
- 2.10.5: b) I type
- 2.11.1: a)
0000 0001 0000 1000 0100 0000 0010 0000two
- 2.11.1: b)
0000 0010 0101 0011 1000 1000 0010 0010two
- 2.11.2: a)
17317920
- 2.11.2: b)
39028770
- 2.11.3: a)
add $t0, $t0, $t0
- 2.11.3: b)
sub $s1, $s2, $s3
-
2.13.1: a)
0xBABEFEF8
. There is a typo in the
book, you can't shift by 44 (that can't fit in 5 bits). Make the shift 4
and not 44 and you get the right answer.
- 2.13.1: b)
0x11D111D1
- 2.13.2: a)
0xAAAAAAA0
- 2.13.2: b)
0x00DD00D0
- 2.17.4: a)
20
- 2.17.4: b)
20