Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
485B

  1. 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. 0x1d BCALL, ( chkPS )
  7. ( check RS )
  8. IX PUSHqq, HL POPqq,
  9. DE RS_ADDR LDddnn,
  10. DE SUBHLss,
  11. JRC, L2 BWR ( IX < RS_ADDR? abortUnderflow-B298 )
  12. E 0 IY+ LDrIXY,
  13. D 1 IY+ LDrIXY,
  14. IY INCss,
  15. IY INCss,
  16. ( continue to execute )