Watch variables in Oshonsoft showing 0x000 not 0x00?

camerart

Well-Known Member
Hi,
I'm pretty sure that in watch variables, where it shows e,g, (0x000), this means 0x00, but can anyone clarify please?
Camerart
 
Hi,
I'm pretty sure that in watch variables, where it shows e,g, (0x000), this means 0x00, but can anyone clarify please?
Camerart
They are exactly the same thing, as is 0x0 - the reason for allocating three nibbles is to allow 12 bit values (so presumably low-end PIC's? - mid-range are 14 bit, so would need four nibbles).
 
Another reason for the three nibbles ( or three characters ) is that when using hex notations "0x0" some compilers do not like the first char to be non numeric so "0xB8" is written "0x0B8" for clarity.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…