At 04:31 PM 6/8/2004, you wrote:

Is there any documentation about how to use PAASM?

I tried converting some GAS code to it, and it's clearly a different
language.  Is PAASM a subset of ADS assembler?

Is there an ADR/ADRL type function available?  How about any
primitives that could be used to provide similar function?

PACC wasn't really designed for inline assembly. The assembler is very basic, and built around the output from the compiler, omitting a lot of features that are useful for assembly language writers. For example, the label namespace is global to the file, not to the individual function, as Robert discovered. Also, aliases for instructions (the LDMIA versus LDMFD) aren't defined. I have passed these concerns on to the PalmSource compiler team.


For emitting immediate values into inline assembly, you can use the .word and .byte directives.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to