Mod
- dule 3: Representing
Values in a Com
- mputer
Mod odule 3: Representing Values in a Com omputer Du Due Da - - PowerPoint PPT Presentation
Mod odule 3: Representing Values in a Com omputer Du Due Da Dates Assignment #1 is due Thursday January 19th at 4pm Pre-class quiz #4 is due Thursday January 19th at 7pm. Assigned reading for the quiz: Epp, 4th edition: 2.3
2
3
4
5
8
10
Number X1 X2 X3 X4 1 1 2 1 3 1 1 4 1 5 1 1 6 1 1 7 1 1 1 8 1 9 1 1
11
14
15
16
18
000 001 010 011 100 101 110 111
000 001 010 011 100 101 110 111
22
23
24
1 1 1 ...1 + 1
000 001 010 011 100 101 110 111
000 001 010 011 100 101 110 111
000 001 010 011 100 101 110 111
29
30
32
33
34
35
36
Show Answer
38
39
40
41
45; using 2
45/3 (rounded to
45 which give us
13 th away from
42
43
45
46
▷
48
3
1010
mantissa exponent
49
50
▷
51
Consider the following: What value will (addfractions 0) return? a. 10 b. 11 c. Less than 10 d. More than 11 e. No value will be printed
▷
52
53
54
Arithmetic operation Addition %ebx %ecx
55
Arithmetic operation Addition %ebx %ecx
56
Red Green Blue