Date : Fri, 09 Mar 1990 13:23:50 GMT
From : mcsun!ukc!icdoc!zmacv14@uunet.uu.net (C P Brown)
Subject: Z80A Assembler algorithm needed!
Apologies that this isn't directly CP/M based but its the closest I could get.
I'm writing a Z80 cross assembler/disassembler and emulator on a 68000-based
machine, and I've run into a spot of bother. The Z80 is such a strange beast
that I can't work out a decent assembler algorithm, and although I've done a
disassembler, I'm not whether its optimal or not.
Please can anyone suggest a reference for good Z80 assembler/disassembler
algorithms, or even better, source? Ideally it would cover the undocumented
instructions too. Because I'm going to include an emulator I'd like a pretty
efficient version of the disassembler (or instruction decoder).
Advice for a good Z80 reference would be appreciated, as I'm going to have to
learn the exact functionality of every Z80 instruction - I'm familiar with
most, but some (eg IM 0/1/2) I'm a little unsure of.
Please e-mail as I don't (can't) subscribe to this newsgroup.
Thanks in advance for any help,
Phil Brown