2020-06-18 21:24:47 +10:00
|
|
|
lblnext BSET PC ORG @ 0x1b + ! ( next )
|
2020-04-23 11:19:12 +10:00
|
|
|
( This routine is jumped to at the end of every word. In it,
|
|
|
|
we jump to current IP, but we also take care of increasing
|
|
|
|
it by 2 before jumping. )
|
|
|
|
( Before we continue: are stacks within bounds? )
|
2020-06-28 12:01:56 +10:00
|
|
|
( PS ) HL PS_ADDR LDdn,
|
|
|
|
SP SUBHLd,
|
2020-07-06 12:23:40 +10:00
|
|
|
JRC, lblofl BWR ( abortUnderflow-B285 )
|
2020-06-28 12:01:56 +10:00
|
|
|
( RS ) IX PUSH, HL POP,
|
|
|
|
DE RS_ADDR LDdn,
|
|
|
|
DE SUBHLd,
|
2020-07-06 12:23:40 +10:00
|
|
|
JRC, lblofl BWR ( IX < RS_ADDR? abortUnderflow-B285 )
|
2020-07-07 13:31:00 +10:00
|
|
|
LDA(BC), E A LDrr, BC INCd,
|
|
|
|
LDA(BC), D A LDrr, BC INCd,
|
2020-04-23 11:19:12 +10:00
|
|
|
( continue to execute )
|