Asm
Previous  Next

Description: Insert a line of assembly, or an assembly code block, directly into your program.

     Syntax:

Method 1: Asm "<Asm>"
Method 2:
        Asm
                <Asm>
        End Asm

Part
Description
<Asm>
Required. This is the assembly code to be inserted into the application. If using a single line of assembly code, the code must be encapsulated in quotes.

Example:

        Asm "move.w #100, (__INTEGER_b)"
        Asm
                clr.l d0
                move.w (__INTEGER_b), d0
                add.w #20, d0
                move.w d0, (__INTEGER_c)
        End Asm
        Print b, c