When developing on a little endian machine and a little endian carrier board, the user manual states: "Little Endian uses even-byte addresses to store the low-order byte. As such, installation of this module on a PC carrier board will require the use of the even address locations to access the lower 8-bit data while on a VMEbus carrier use of odd address locations are
required to access the lower 8-bit data."
However the memory map diagrams display variables via both their byte address and the MSB/LSB equivalent. When two bytes share a 16-bit address space, should we trust the address or the MSB/LSB designation?
For example, in the ip330a document within the I/O memory space:
Timer Prescaler: Byte 0x02 MSB
Interrupt Vector: Byte 0x03 LSB
Being that the document is in big endian, when switching to a little endian machine, if I wanted to write the timer prescaler as (0x40) and the interrupt vector as (0x00) with a 16-bit write at address (0x02), would it be:
0x4000 (trust MSB/LSB) or
0x0040 (trust byte address)
on the little endian machine?