Hello all MSPGCC user,

My setup:
--------------
OS:                                       Windows XP
MSPGCC installer release:        030506
MSPGCC version:                    3.2.3
GNU make version:                3.79.1
MCU:                                     MSP430F149


I finally found what to do to be able to use and assembly instruction like 
"mov.b &P1OUT,R5" inside a macro.
The symbol '&' seem to be reserve, by msp430-as, for macro language, and we 
have to double the '&' to tell the assembler that the symbol belong to the 
instruction, and not to the macro itself.
So, if you have to write an instruction like "mov.b &P1OUT,R5" inside a macro, 
you have to write it like this: "mov.b &&P1OUT,R5".



Claude.


Reply via email to