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 have to do is use a prefix byte 0DDH or 0FFH in front of a normal instruction an= d the assembler will be happy: USEIX EQU 0DDH USEIY EQU 0FDH Then replace something like: =20 LD A,IXL With: DB USEIX LD A,L ~ Bob Ammerman RAm Systems -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Justin Richards Sent: Saturday, August 16, 2014 6:29 AM To: Microcontroller discussion list - Public. Subject: [EE] Z80 dis-assembly assembly - preferred tools Nostalgic exploration of old arcade machines machines has resulted in the acquisition of a couple of arcade machines and additional Galaga game boards. I have followed some of the work others have done dissecting the code and now would like to experiment. I downloaded an assembler/dis-assembler. After some trial and error the dis-assembled code when re-assembled now only throws 5 errors complaining about 'bad register - ixl'. (I was expecting this part of the procedure to be straight forward especially as the assembler/dis-assembler are part of the same installer.) I assume this relates to undocumented instructions. I am new to Z80 assembler and have a little exposure to 8080 and PIC assembler. Rather than downloading and trying dis-assmbler/assembler pairs I thought I would ask the list if they have any favorites that work well for them. I am running xp. Justin . -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/chang= e your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/chang= e your membership options at 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 .