1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-09-20 00:58:44 +10:00
collapseos/blk/584
Virgil Dupras 73623fff53 zasm: rename LDdd(n) to LDd(n)
it seems I left my asm argument harmonization half done here.

Instructions list at B208 doesn't correspond to many actual
mnemonics. This mnemonic here was the worst offender.
2020-08-14 21:45:25 -04:00

15 lines
392 B
Plaintext

IFNZ, ( buffer full? )
( no, continue )
DE ADDHLd, ( restore ACIAW> )
( buffer not full, let's write )
ACIA_IO INAi,
(HL) A LDrr,
( advance W> )
HL INCd,
ACIAW> LD(n)HL,
DE ACIA) LDd(n),
DE SUBHLd,
( cont. )