2020-04-23 09:03:32 +10:00
|
|
|
( 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, ;
|
2020-05-02 04:38:31 +10:00
|
|
|
: PUSHA, B 0 LDrn, C A LDrr, BC PUSHqq, ;
|
2020-04-28 05:04:37 +10:00
|
|
|
: HLZ, A H LDrr, L ORr, ;
|
|
|
|
: DEZ, A D LDrr, E ORr, ;
|
2020-04-28 21:51:41 +10:00
|
|
|
: LDDE(HL), E (HL) LDrr, HL INCss, D (HL) LDrr, ;
|
2020-04-29 11:12:52 +10:00
|
|
|
: OUTHL, DUP A H LDrr, OUTnA, A L LDrr, OUTnA, ;
|
|
|
|
: OUTDE, DUP A D LDrr, OUTnA, A E LDrr, OUTnA, ;
|
2020-06-12 08:12:01 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|