Hi,
how can I make accesses to the small data area in asm?
like:
move.w #2, _variable(A5) // although it is how compiler puts it into asm (using -S), it does not work at all from asm file
I use legacy 68k codewarrior 3.2.
ASM reference says something regarding using "label@sdax" but I could not make it work, I always get error messages.
Thanks,
Viktor
Well, using CW 10.1 for a V1 this worked for me:
long_data: .long $beefabcd
.
.
.
move.l long_data@sdax(A5),D0
Thanks for the answer.
These lines give me the message:
File "../crt0.S" ; Line 67 # Error: Illegal or unsupported relocation type
move.l long_data@sdax(A5),D0
I guess cw for V1 does not have any options for producing CPU32 code, does it?
BR,
Viktor