mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 01:50:57 +11:00
c4db9d4420
Also, remove RSP underflow check from next for the same reason as in the previous commit in z80.
11 lines
332 B
Plaintext
11 lines
332 B
Plaintext
lblnext BSET PC 0x1d - ORG @ 0x1b + ! ( next )
|
|
( ovfl check )
|
|
BP SP CMPxx,
|
|
IFNC, ( BP >= SP )
|
|
SP PS_ADDR MOVxI, BP RS_ADDR MOVxI,
|
|
DI 0x13 ( oflw ) MOVxm, JMPs, L1 FWRs ( execute )
|
|
THEN,
|
|
DI DX MOVxx, ( <-- IP ) DX INCx, DX INCx,
|
|
DI [DI] MOVx[], ( wordref )
|
|
( continue to execute ) L1 FSET
|