#asm - Bypass the Compiler Command

This mystery command is used to bypass the compiler for commands that have not yet been implemented. It isn’t necessary but you may encounter is in some older code or new code written by older coders.
It is a comma delineated set of values terminated by a semicolon.

Syntax

#asm x,y1,y2,…​,yn;
Where x is the command you want it to perform and y is the parameters.

Known #ASM functions
  • 0x04 - Delay

  • 0x07 - LED indicator instructions

  • 0x10 - Button Enable/Disable instructions

Don’t use this command. No really, why are you using an undocumented command in your code?

Example

Does some things that could be done just as easily with standard commands.

Task1()
{
#asm 0x04,0,1   //Inserts a delay?
#asm 0x07,0x87,0x0f,0x00,0x00; //Sets the indicators?
}