User`s manual

194 digi.com Keywords
align
Used in assembly blocks, the align keyword outputs a padding of nops so that the next instruction to be
compiled is placed at the boundary based on VALUE.
#asm
...
align <VALUE>
...
#endasm
VALUE can have any (positive) integer expression or the special operands even and odd. The operand
even aligns the instruction on an even address, and odd on an odd address. Integer expressions align on
multiples of the value of the expression.
Some examples:
align odd ; This aligns on the next odd address
align 2 ; Aligns on a 16-bit (2-byte) boundary
align 4 ; Aligns on a 32-bit (4-byte) boundary
align 100h ; Aligns the code to the next address that is evenly divisible by 0x100
align sizeof(int)+4 ; Complex expression, involving sizeof and integer constant
Note that integer expressions are treated the same way as operand expressions for other asm operators, so
variable labels are resolved to their addresses, not their values.
always_on
The costatement is always active. Unnamed costatements are always on.
anymem
Allows the compiler to determine in which part of memory a function will be placed.
anymem int func(){
...
}
#memmap anymem
#asm anymem
...
#endasm