APPENDIX C
Answers to Selected Exercises
Exercises 1.1 (page 7)
Exercises 1.2 (page 11)
1. (b) 29522 or sR
2. (b) 47 65 6f 72 67 65 20 73 61 69 64 2c 20 22 4f 75 63 68 21 22
3. (c) June 11, 1947CRLF
Exercises 1.3 (page 16)
1. (a) 00000F22
2. (d) FFF6
3. (b) 6F
4. (b) –509 signed; 4,294,966,787 unsigned
5. (c) 28,448 signed or unsigned
6. (a) –31 signed; 225 unsigned
8. (a) –32,768 to +32,767; (b) 0 to 65,535
Exercises 1.4 (page 23)
1. 003F + 02A4
sum: 02E3, no overflow, no carry
signed and unsigned check: 63 + 676 = 739
unsigned check: 32766 + 2 = 32768
5. FF07 + 06BD
sum: 05C4, no overflow, ...
Get Introduction to 80x86 Assembly Language and Computer Architecture, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.