- #1
Amathproblem22
- 13
- 0
Question: With 8-bit unsigned values, 0x10 + 0xfe =
Answer: 0x0e, which is decimal 14.What I know;
The prefix 0x is used in code to indicate that the number is being written in hex. Base 16.
I also am aware that with 8-bit unsigned values it goes from a range of 0 to 255.
Need help with:
Is this working? 10+f = (10+15, the base system is 16 so this is bigger so resets?) 0?
0+e(14)=14, meaning 0x0e I have probably done the working wrong so that's why I need help. Thanks.
Answer: 0x0e, which is decimal 14.What I know;
The prefix 0x is used in code to indicate that the number is being written in hex. Base 16.
I also am aware that with 8-bit unsigned values it goes from a range of 0 to 255.
Need help with:
Is this working? 10+f = (10+15, the base system is 16 so this is bigger so resets?) 0?
0+e(14)=14, meaning 0x0e I have probably done the working wrong so that's why I need help. Thanks.