Hints and Solutions to Selected Exercises
Skip to main content\(\newcommand{\doubler}[1]{2#1}
\newcommand{\binary}{\mathtt}
\newcommand{\hex}{\mathtt}
\newcommand{\octal}{\mathtt}
\newcommand{\prog}{\mathtt}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\)
Solutions B Hints and Solutions to Selected Exercises
Chapter 2 Data Storage Formats
Exercises 2.2 Exercises
2.2.1.
2.2.2.
2.2.3.
2.2.4.
Exercises 2.4 Exercises
2.4.1.
2.4.2.
2.4.3.
2.4.4.
2.4.5.
Exercises 2.6 Exercises
2.6.1.
2.6.2.
2.6.3.
2.6.4.
Exercises 2.8 Exercises
2.8.1.
2.8.2.
2.8.3.
Exercises 2.10 Programming Exercises
2.10.2.
2.10.3.
2.10.4.
Exercises 2.14 Programming Exercise
2.14.1.
Exercises 2.16 Programming Exercises
2.16.1.
2.16.2.
2.16.3.
Chapter 3 Computer Arithmetic
Exercises 3.2 Exercises
3.2.1.
3.2.2.
3.2.3.
3.2.4.
3.2.5.
3.2.6.
Exercises 3.5 Exercises
3.5.1.
3.5.2.
3.5.3.
3.5.4.
3.5.5.
3.5.6.
Exercises 3.7 Exercises
3.7.1.
3.7.2.
3.7.3.
Chapter 4 Basic Data Types
Exercises 4.3 Programming Exercise
4.3.1.
Exercises 4.5 Programming Exercise
4.5.1.
Chapter 5 Boolean Algebra
Exercises 5.2 Exercises
5.2.1.
5.2.2.
5.2.3.
5.2.4.
5.2.5.
5.2.6.
Exercises 5.4 Exercise
5.4.1.
Exercises 5.6 Exercises
5.6.1.
5.6.2.
5.6.3.
5.6.4.
5.6.5.
5.6.6.
5.6.7.
Exercises 6.4 Exercise
6.4.1.
Chapter 8 Central Processing Unit
Exercises 8.6 Programming Exercises
8.6.1.
8.6.2.
8.6.3.
8.6.5.
8.6.6.
Chapter 9 Programming in Assembly Language
Exercises 9.4 Programming Exercises
9.4.1.
9.4.2.
9.4.3.
9.4.4.
9.4.5.
Chapter 10 Structure of the main
Function
Exercises 10.4 Programming Exercise
10.4.1.
Exercises 10.6 Programming Exercise
10.6.1.
Chapter 12 Program Flow Constructs
Exercises 12.2 Programming Exercises
12.2.1.
12.2.2.
Exercises 12.4 Programming Exercise
12.4.1.
Chapter 13 Writing Your Own Functions
Exercises 13.3 Programming Exercises
13.3.1.
13.3.2.
13.3.3.
13.3.4.
13.3.5.
Chapter 14 Bit Operations; Multiplication and Division
Exercises 14.2 Programming Exercise
14.2.1.
Exercises 14.4 Programming Exercises
14.4.1.
14.4.2.
14.4.3.
14.4.4.
Exercises 14.7 Programming Exercises
14.7.1.
14.7.2.
14.7.3.
Chapter 15 Data Structures
Exercises 15.2 Programming Exercise
15.2.1.
Exercises 15.5 Programming Exercise
15.5.1.
Exercises 15.7 Programming Exercise
15.7.1.
Chapter 16 Fractional Numbers
Exercises 16.2 Programming Exercise
16.2.1.
Exercises 16.6 Exercises
16.6.1.
16.6.2.
16.6.3.
Exercises 18.6 Programming Exercise
18.6.1.
Chapter 19 General Purpose Input/Output (GPIO) Device
Exercises 19.3 Programming Exercise
19.3.1.