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