In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sergio wrote: Does anyone knows if I can work with a lookup table in the second half of a page?? I cann't understand why if I inc PC in that zone, let's say in address #10E, it jumps "nowhere land". For example, can I make this work? ;**** Page_0_Jmp_Table ***** ; ISR_Origin = $0 ; Page_0_Jmp_Table = $0F5 ; Page_0 = $0a0 ; Page_1 = $104 ; ;=====================; ; ; org Page_0_Jmp_Table ; Address ($0F5) ; ; ab_ jmp ab ; ;=====================; ; ; org Page_0 ; Address ($0a0) ; ; Main1 clr w ; Start call ab_ ; jmp $ ; End ;---------------------------; org Page_1 ; Address ($100) Same page but second half. ; ; ab jmp pc+w ; retw $40 ; ;--------------------------; Thanks.... ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=296451 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)