mspgcc: A port of the GNU tools to the Texas Instruments MSP430 microcontrollers | ||
---|---|---|
<<< Previous | mspgcc's ABI | Next >>> |
GNU msp430-as supports TI style assembler syntax. Some extensions are:
@Rn as destination treated as 0(Rn)
0(Rn) as source treated as @Rn
jmp +N skips next N bytes (use with care).
jmp $+-N advances/rewinds PC N bytes from current location.
jmp -N rewinds PC N bytes from current location.
<<< Previous | Home | Next >>> |
Call definitions | Up | Using inline assembly language in C programs with mspgcc |