1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-26 17:28:06 +11:00
collapseos/blk/299

11 lines
306 B
Plaintext
Raw Normal View History

2020-04-23 11:19:12 +10:00
PC ORG @ 0x1e + ! ( chkPS )
HL PUSHqq,
( We have the return address for this very call on the stack
and protected registers. 4 - is to compensate that. )
HL PS_ADDR 4 - LDddnn,
2020-04-23 11:19:12 +10:00
SP SUBHLss,
HL POPqq,
CNC RETcc, ( PS_ADDR >= SP? good )
2020-04-23 11:19:12 +10:00
JR, L2 BWR ( abortUnderflow-B298 )