Not exactly 100% sure what that does but it eliminates the errors. Thanks Now lastly the re-assembled file is 2 bytes larger than the original 4096 as compared with 4098. It needs to fit into a 4K EPROM. On 16 August 2014 20:43, Bob Ammerman wrote: > Er, it should be "prefix byte 0DDH or 0FDH", not "prefix byte 0DDH or > 0FFH". > > Sorry, > > ~ Bob Ammerman > RAm Systems > > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of > Bob Ammerman > Sent: Saturday, August 16, 2014 9:05 AM > To: 'Microcontroller discussion list - Public.' > Subject: RE: [EE] Z80 dis-assembly assembly - preferred tools > > It's pretty easy to deal with errors from IXL, IXH, IYL, IYH. All you hav= e > to do is use a prefix byte 0DDH or 0FFH in front of a normal instruction > and > the assembler will be happy: > > USEIX EQU 0DDH > USEIY EQU 0FDH > > Then replace something like: > > LD A,IXL > > With: > > DB USEIX > LD A,L > > ~ Bob Ammerman > RAm Systems > > http://mailman.mit.edu/mailman/listinfo/piclist > --=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 .