Number Systems: Basic Arithmetic Operations
Number Systems: Basic Arithmetic Operations
1
BINARY ADDITION
0+0=0
0+1=1
1+0=1
1 + 1 = 0 plus a carry over of 1
1 + 1 + 1 = 1 plus a carry over of 1
1
1. 1 0 02 2. 1 0 1 02 3. 1 1 . 0 12
+ 1 12 + 1 1 02 + 1 0 1 . 1 12
1 1 12 1 0 0 0 02 1 0 0 1 . 0 02
1
+1
2
-2
2
0 plus a carry of 1
BINARY SUBTRACTION
0-0=0
1-0=1
1-1=0
0 - 1 = 1 with a borrow of 1
1. 1010 2. 100011 1
22
- 100 - 1010 1 0 0 borrow of 1 (or =2)
110 11001 - 1
11
3. 1000.11 4. 101
- 11.01 - 111
101.10 - 010
3
BINARY MULTIPLICATION
0x0=0
1x0=0
0x1=0
1x1=1
1. 111 2. 11.00
x101 x 10.10
111 00 00
+ 000 110 0
111 0000
1 0 0 0 0 12 1100
1 1 1 . 1 0 0 02
4
BINARY DIVISION
0/1=0
1/1=1
1. 1 2 38 2. 4 5 6 08
+ 3 18 + 2 3 18
1 5 48 5 0 1 18
1
3. 1 0 2. 3 4 58 4
+7
+ 5. 6 7 08 11
1 1 0. 2 3 58 - 8
3 plus a carry of 1
1
+2 1
+5 +3
8 +6
- 8 10
0 plus a carry of 1 - 8
2 plus a carry of 1 6
OCTAL SUBTRACTION
1. 6 5 3 18
- 1 1 3 08
5 4 0 18
7
2. 1 1 0 5 . 1 18 8
- 1 4 2 . 0 18 0 0 borrow of 1 (or =8)
4 3. 1 0 0 8
1 1 0 borrow of 1 (or =8)
- 4
4
7
OCTAL MULTIPLICATION
1. 1 2 38 2. 1 1 . 0 08
x 1 28 x 1 0 . 1 08
246 00 00
123 110 0
1 4 7 68 0000
1100
1 1 1 1 . 1 0 0 08
3. 2 0 48 4
x 2 28 x2
410 8
- 8
2 04 0 plus a carry of 1
2 4 5 08
8
OCTAL DIVISION
the solution shows that there are 4 subtractions made, and a remainder of
108
9
HEXADECIMAL ADDITION
1. 4 6 316 2. 4 5 6 016
+ 4 116 + 2 3 116
4 A 416 4 7 9 116
1
3. 1 6 A. 3 9 58 9
+7
+ 8. 6 7 68 16
1 7 2. A 0 B8 - 16
0 plus a carry of 1
10
+ 8
18
- 16
2 plus a carry of 1
10
HEXADECIMAL SUBTRACTION
1. 6 5 3 18
- 1 1 3 08
5 4 0 18
7
2. 1 1 0 5 . 1 18 8
- 1 4 2 . 0 18 0 0 borrow of 1 (or =8)
4 3. 1 0 0 8
1 1 0 borrow of 1 (or =8)
- 4
4
11
HEXADECIMAL MULTIPLICATION
1
1. 1 4 316 2. 3 1 416
x 2 116 x 5 216
143 628
286 F64
2 9 A 316 F C6 816
4
x5
20
- 16
4 plus a carry of 1
12
HEXADECIMAL DIVISION
7 5.18
15x1 = 15
15 9A1 15x2 = 2A
-93 15x3 = 3F
71 15x4 = 54
15x5 = 69
- 69 15x6 = 7E
2.0 15x7 = 93
- 15 15x8 = A8
15x9 =BD
B0 15xA=D2
- A8
8
13
Seatwork
Perform the following operations.