Mirror of CollapseOS
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

17 lines
699B

  1. C A LDrr, ( C holds our length )
  2. ( Let's do something weird: We'll hold HL by the *tail*.
  3. Because of our dict structure and because we know our
  4. lengths, it's easier to compare starting from the end.
  5. Currently, after CPIR, HL points to char after null. Let's
  6. adjust. Because the compare loop pre-decrements, instead
  7. of DECing HL twice, we DEC it once. )
  8. HL DECss,
  9. BEGIN, ( inner )
  10. ( DE is a wordref, first step, do our len correspond? )
  11. HL PUSHqq, ( --> lvl 1 )
  12. DE PUSHqq, ( --> lvl 2 )
  13. DE DECss,
  14. LDA(DE),
  15. 0x7f ANDn, ( remove IMMEDIATE flag )
  16. C CPr, ( cont. )