aboutsummaryrefslogtreecommitdiff
path: root/semestre 3/architecture des ordinateurs/tme/tme2/exo2/q1-q2.md
blob: d97fd9b0f8beda75e5c89d16fc3e51ba96239d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Question 1

S: 0
E: 1000 0010
M: 010 0000 0000 0000 0000 0000

## Question 2

41950e56

0100
0001
1001
0101

0000
1110
0101
0110

S: 0 -> positif
E: 1000 0011 -> -128 + 3 = -125
M: 001 0101 0000 1110 0101 0110 -> 6 + 5×16 + 14×16^2 + 5×16^4 + 1×16^5 = c'est long
=> 18,632