From: Bernhard H. <ber...@be...> - 2003-05-28 21:18:13
|
> It seems the the compiler is storing integers with the > incorrect endian order. This results in problems when you > add an int to a Pointer value. 0x0175 + 0x0007 = 0x875 ! sdcc uses little endian for all data types. > Integers are stored as 0x0007, and Pointers are 0x7501. One > of them is wrong i would guess its the integer one. Ack. However analyzing the read access isn't helpfull here. You should examine why there's 0x0700 (this is a value, not the representation in memory) in your index. Bernhard |