in reply to Z80 Assembler Questions
This is all a bit vague, but I suppose there is a system behind the way the various variants of an instruction translate into bits. In that case, I'd look up the translation for the instruction and the translation for its parameters separately and then combine them; this should shrink the table by an order of magnitude.
I'd parse the instructions into their tokens and then use some form of dispatch hash onto those, but lacking an specification to work with, I have no idea what it would have to look like in your case.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Z80 Assembler Questions
by Elgon (Curate) on Jan 31, 2003 at 14:54 UTC | |
by dpuu (Chaplain) on Jan 31, 2003 at 18:17 UTC |