2020-04-23 11:19:12 +10:00
|
|
|
( At this point, Z is set if we have a match. In all cases,
|
|
|
|
we want to pop HL and DE )
|
2020-07-06 12:43:32 +10:00
|
|
|
DE POP, ( <-- lvl 4 )
|
2020-07-06 12:35:54 +10:00
|
|
|
IFZ, ( match, we're done! )
|
2020-07-06 12:43:32 +10:00
|
|
|
HL POP, BC POP, HL POP, ( <-- lvl 1-3 ) DE PUSH,
|
|
|
|
PUSH1, JPNEXT,
|
2020-07-06 12:35:54 +10:00
|
|
|
THEN,
|
2020-04-23 11:19:12 +10:00
|
|
|
( no match, go to prev and continue )
|
2020-06-28 12:01:56 +10:00
|
|
|
DE DECd, DE DECd, DE DECd, ( prev field )
|
2020-07-06 12:43:32 +10:00
|
|
|
DE PUSH, ( --> lvl 4 )
|
2020-04-23 11:19:12 +10:00
|
|
|
EXDEHL,
|
2020-04-29 11:12:52 +10:00
|
|
|
LDDE(HL),
|
|
|
|
|
|
|
|
|
2020-04-23 11:19:12 +10:00
|
|
|
( cont. )
|