2004-02-09 01:10 AM
What does ''LD {eval1+1},A'' do?
2004-02-08 10:33 PM
Hi,
I'm trawling through some ASM code I need to update (not written by me) and having trouble interpretting some of it... LD {eval1+1},A Load acumulator to eval1... what does the +1 bit do? Is this to address the MSB, LSB?2004-02-08 11:46 PM
For instance if you define a word in memory, eg. eval DS.W 1
LD {eval1+1},A would write to the low byte LD {eval1},A would write to the high byte. This is if MOTOROLA (Big endian) has been defined, if using INTEL (little endian) then the opposite applys. Regards sjo2004-02-09 01:10 AM
Thanks, thats excellent