asm Statement

mikroBasic PRO for AVR allows embedding assembly in the source code by means of the asm statement.

You can group assembly instructions with the asm keyword:

asm
   block of assembly instructions
end asm

mikroBasic PRO for AVR comments are not allowed in embedded assembly code. Instead, you may use one-line assembly comments starting with semicolon.

Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
Want more examples and libraries? 
Find them on LibStock - A place for the code