2020-06-18 07:16:40 -04:00
|
|
|
lblchkPS BSET ( chkPS )
|
2020-06-14 09:48:10 -04:00
|
|
|
( Note that you only need to call this in words that push
|
|
|
|
back to PSP. If they don't, calling chkPS is redundant with
|
|
|
|
check in next )
|
|
|
|
EXX,
|
|
|
|
( We have the return address for this very call on the stack
|
2020-06-27 22:01:56 -04:00
|
|
|
and protected registers. 2- is to compensate that. )
|
|
|
|
HL PS_ADDR 2- LDdn,
|
|
|
|
SP SUBHLd,
|
2020-06-14 09:48:10 -04:00
|
|
|
EXX,
|
2020-06-27 22:01:56 -04:00
|
|
|
CNC RETc, ( PS_ADDR >= SP? good )
|
|
|
|
JR, lblofl BWR ( abortUnderflow-B298 )
|