What am I missing here?

Pommie

Well-Known Member
Most Helpful Member
I have a project with a structure containing various 16 bit values.
When I look at the structure I see,


Which is exactly what I expect to see. At location 0x60 is a 16 bit value containing 511.

However, when I look at the file register values I see this!!!

Which shows the value at 0x60 as 0x01ff. Completely different.
I'm also writing this to EEPROM and the second (file register) values are being written.

Am I misunderstanding this? Or am I missing something else?

Thanks,

Mike.
P.S. I've tried stopping the debugger and reading the memory to no avail.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…