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.

12345678910111213141516
  1. lblnext BSET PC ORG @ 0x1b + ! ( next )
  2. ( This routine is jumped to at the end of every word. In it,
  3. we jump to current IP, but we also take care of increasing
  4. it by 2 before jumping. )
  5. ( Before we continue: are stacks within bounds? )
  6. ( PS ) HL PS_ADDR LDddnn,
  7. SP SUBHLss,
  8. JRC, lblofl BWR ( abortUnderflow-B298 )
  9. ( RS ) IX PUSHqq, HL POPqq,
  10. DE RS_ADDR LDddnn,
  11. DE SUBHLss,
  12. JRC, lblofl BWR ( IX < RS_ADDR? abortUnderflow-B298 )
  13. E 0 IY+ LDrIXY,
  14. D 1 IY+ LDrIXY,
  15. IY INCss, IY INCss,
  16. ( continue to execute )