In the documentation ("Targeting_Palm_OS.pdf") wrote:
        "You use the Palm OS inline assembler to specify that an entire
        function is in assembly language. Assembly statement blocks within
        a function are not supported. In other words, the Palm OS inline
        assembler is a function-level assembler.

        Inline assembly code for Palm OS uses the following syntax:
        asm long f(void) { . . . } // OK: An assembly function"

Good Luck.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Aaron
Ardiri
Sent: Wednesday, January 10, 2001 4:26 PM
To: Palm Developer Forum
Subject: CW: inline assembly


hi

call me nutz.. but.. i installed CW R6 :) [using PilRC plugin] :P

i have successfully moved cube3D over to codewarrior, however, i
have not been able to get inline assembly to work correctly :(( i
have managed to create a function written in assembly, and just
call that, however, i would like to just write an asm block.

  asm
  {
    // assembly code here
  }

is it at all possible? :) i would much prefer to define an asm block
rather than write a function in assembler and then call it (messier code)

cheers

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


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


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

Reply via email to