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.

16 lines
484B

  1. lbluflw BSET ( abortUnderflow )
  2. DE BIN( @ 0x06 ( uflw ) + LDdd(n),
  3. JR, lblexec BWR
  4. lblchkPS BSET ( chkPS )
  5. ( Note that you only need to call this in words that push
  6. back to PSP. If they don't, calling chkPS is redundant with
  7. check in next )
  8. EXX,
  9. ( We have the return address for this very call on the stack
  10. and protected registers. 2- is to compensate that. )
  11. HL PS_ADDR 2- LDdn,
  12. SP SUBHLd,
  13. EXX,
  14. CNC RETc, ( PS_ADDR >= SP? good )
  15. JR, lbluflw BWR