mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 17:58:07 +11:00
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.
9 lines
286 B
Plaintext
9 lines
286 B
Plaintext
BEGIN, ( inner )
|
|
( DE is a wordref, first step, do our len correspond? )
|
|
HL PUSH, ( --> lvl 1 )
|
|
DE PUSH, ( --> lvl 2 )
|
|
DE DECd,
|
|
LDA(DE),
|
|
0x7f ANDi, ( remove IMMEDIATE flag )
|
|
C CPr, ( cont. )
|