I have problem compiling a asm fil in my msp-gcc project. The #define P1Out 
dont work. I get: "undefined reference to `P1OUT'"
If I replaces &P1OUT with 0x0021 in the code it will work!  This shuld not be a 
big problem...

Torgeir Moringen

-------file start--------
;*****
; Port1.s43
;****

#define     _GNU_ASSEMBLER_
#define     P1OUT     0x0021  

.file "port1.s"
.global set_port
 
;==============
; set_port
;==============ยจ

.section ".text"

set_port: 
 xor.b #01h,&P1OUT
 ret

-------file end-----------



Reply via email to