In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dabayliss wrote: When using multiple retw instructions on the same line (as per 'beginners assembly for SX page 65') SX sim reports a 'bad jump'. If instead you do the expanded form of the retw it works fine .... DEVICE sx28l,oschs3 DEVICE TURBO,STACKX,OPTIONX IRC_CAL IRC_SLOW RESET START_POINT FREQ 50000000 ORG 0 START_POINT MOV w,#3 call square jmp start_point square jmp PC+W retw 0,1,4,9,16 ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=323167 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)