In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Jon Williams wrote: Sure, just define a subroutine: MYSUB SUB ... and then put assembly code in it as you desire with the ASM..ENDASM block: MYSUB: ASM NOP ENDASM RETURN You can even define you subroutine (new "keyword") to accept parameters and return a value if you need. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91583#m91588 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)