440ea43a88
Initially, I used the same letters as those used in the z80 ref docs, but it makes the different assemblers harder to use than they should. Having consistent "argtype" rules across assemblers should help.
16 lines
240 B
Plaintext
16 lines
240 B
Plaintext
BEGIN, ( loop )
|
|
SCF,
|
|
C RL,
|
|
RLA,
|
|
HL ADCHLd,
|
|
DE SBCHLd,
|
|
IFC,
|
|
DE ADDHLd,
|
|
C DECr,
|
|
THEN,
|
|
DJNZ, AGAIN, ( loop )
|
|
B A LDrr,
|
|
HL PUSH,
|
|
BC PUSH,
|
|
;CODE
|