Set the bits so the 8-bit register holds 0x37. What is the pattern's value N in decimal?
Number systems worksheet with answers
1.Easy
0x37
N =
2.Easy
Set the bits so the 8-bit register holds 0x14. What is the pattern's value N in decimal?
0x14
N =
3.Medium
The 8-bit pattern 1111 0100 stores a signed integer in two's complement. What is its value N in decimal?
1111 01008 bit
N =
4.Medium
The 8-bit pattern 1101 0000 stores a signed integer in two's complement. What is its value N in decimal?
1101 00008 bit
N =
5.Hard
Set the bits to the 8-bit result of 1000 0100 OR 0010 0111. What is the result's value R in decimal?
1000 0100OR0010 0111
R =
6.Hard
Set the bits to the 8-bit result of 1001 1101 << 1. What is the result's value R in decimal?
1001 1101<< 1
R =
Answer key
- 1. N = 55
- 2. N = 20
- 3. N = −12
- 4. N = −48
- 5. R = 167
- 6. R = 58
Full step-by-step solutions: practise this topic on examproblems.com.