f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
434 B
Plaintext
17 lines
434 B
Plaintext
( Macros )
|
|
( clear carry + SBC )
|
|
: SUBHLss, A ORr, SBCHLss, ;
|
|
: PUSH0, BC 0 LDddnn, BC PUSHqq, ;
|
|
: PUSH1, BC 1 LDddnn, BC PUSHqq, ;
|
|
: PUSHZ, BC 0 LDddnn, IFZ, BC INCss, THEN, BC PUSHqq, ;
|
|
: PUSHA, B 0 LDrn, C A LDrr, BC PUSHqq, ;
|
|
: HLZ, A H LDrr, L ORr, ;
|
|
: DEZ, A D LDrr, E ORr, ;
|
|
: LDDE(HL), E (HL) LDrr, HL INCss, D (HL) LDrr, ;
|
|
: OUTHL, DUP A H LDrr, OUTnA, A L LDrr, OUTnA, ;
|
|
: OUTDE, DUP A D LDrr, OUTnA, A E LDrr, OUTnA, ;
|
|
|
|
|
|
|
|
|