Hi David,
If you've problem, can you please provide us more details ?
tmp displays a part of address of the FLASH_address_pointer which is 0xf808.
The FLASH_address_pointer is an unsigned int so coded on 4 bits.
Each time the pointer is incremented, 4 bit is added the memory address and you will have:
tmp = 8
tmp = 12
tmp = 16
...
According to the \CodeWarrior for Microcontrollers V6.3\Help\PDF\ColdFireV1_Build_Tools_Reference.pdf manual - page 190, we know:
bool/char is coded on 8 bits
short is coded on 16 bits
int if "4-Byte Integers is off" is coed on 16 bits
int if "4-Byte Integers is on" is coed on 32 bits
long is coded on 32 bits
long long is coded on 64 bits
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------