In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Paul, You MUST declare the SUBs AFTER the interrupt GOTO "IntHandler" and BEFORE your interrupt code. Here is the reason... The INTERRUPT keyword must be the first keyword that generate code. Because the interrupt code MUST start at address $000. The SUB declarations must be in the first 256 code words, because the CALL address is only 8 bits. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=133780#m133826 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)