Set the bits so the 8-bit register holds 0x3F. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x3F
N =
2.Easy
Set the bits so the 8-bit register holds 0x97. What is the pattern's value N in decimal?
0x97
N =
3.Medium
Set the bits so they store −68 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −688 bit
U =
4.Medium
Set the bits so they store −8 in 8-bit two's complement. Read as an unsigned number, what is the pattern's value U?
N = −88 bit
U =
5.Hard
Set the bits to the 8-bit result of 1001 1100 >> 3. What is the result's value R in decimal?
1001 1100>> 3
R =
6.Hard
Set the bits to the 8-bit result of 0001 1101 AND 0110 0110. What is the result's value R in decimal?
0001 1101AND0110 0110
R =
Answer key
- 1. N = 63
- 2. N = 151
- 3. U = 188
- 4. U = 248
- 5. R = 19
- 6. R = 4
Full step-by-step solutions: practise this topic on examproblems.com.