On Fri, 22 Aug 2014 13:29:54 -0300 John Coppens wrote: > It's been many a year since I programmed Z80, but I seem to remember ther= e > are 2 and 3 byte jumps. If the destination address is after the jump, the > assmebler doesn't have any option but to use the 3-byte address as it doe= sn't > know yet how far to jump. Unless you promise in the source code that the > jump will be 'near' This may have sounded a bit cryptic - there are qualifiers to do the 'promising' in the assembler source code, but the syntax depends on the assembler. Maybe something like 'jp near dest' or so. The code in those old ROMs was heavily (and manually) optimized... John --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .