Viktor Babrian

sdata/sbss access from asm

Discussion created by Viktor Babrian on Dec 4, 2011
Latest reply on Dec 5, 2011 by Viktor Babrian

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

Outcomes