On Tue, 14 Jun 2005, Allison wrote:
di ;
everyone shut up, please
lxi h, epromstartaddress ; EPROM address
lxi d, epromstartaddress ; likewise, I'm sure,
lxi b, 2048 ; BC=EPROM size
ldir ; whirl!
in 0 ; disables EPROM
...
Only one detail... the proposed cpu was 8080 (MITS 8800B)!
Horrid as it's mixed 8080/z80 code.
Oh whatever -- it was an explanation, not a hex image for you to burn!
There were plenty of Z80 assemblers that used Intel mnemonics with Z80
extensions and the code is correct for them. The first great Z80 assembler,
TDL is a good example.
Randy