In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: The following will generate your example code _myjumptable macro local loc jmp loc nop loc endm rept 16 _myjumptable endr (Thanks James, for pointing us again to the power of macros) regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=242690#m243187 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)