[email protected] wrote:

does anybody have a guide or description about the asm syntax?

Er... in what way is the TI documentation inadequate?

That, and the gas manual (for some of the pseudo-ops) seem quite adequate.
Just read a bit of gcc -S output and you'll pick it up.

The only other thing, which gcc doesn't use but is very useful, is the
local labels, 0: through 9:, which can be repeated in the source file
and referred to with "1b" and "1f" for the next "1:" label backward or
forward, respectively.

Saves a lot of trouble thinking up label names for trivial jumps.

I use the 1b and 1f syntax all the time in fragments of MSP430 assembly embedded in C code.

Regards,
Steve


Reply via email to