In mspgcc documentation states, that
when doing mov.b &x,R14 only higher byte is changed
lower byte of r14 stays unchanged.

I made simulation on IAR compiler and any write
to register change whole content filling the rest with zero.
like: mov #0xFFFF,r15;
mov.b #1,r15; gives 1 in return

Also mspgcc says, addressing odd with word values is not documented
I made test (as above) and ie:
mov #0xF1F1,&0x1FF
mov &0x1FF,r15 ;gives 0xF1F1 contents so it works!?

Does it means IAR simulator is not worth a cent?


robert

Reply via email to