1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 09:58:06 +11:00

forth: Forth-ify "BYE"

This commit is contained in:
Virgil Dupras 2020-03-28 10:14:27 -04:00
parent e0eaa8ba63
commit 2db6ebc247
3 changed files with 6 additions and 9 deletions

Binary file not shown.

View File

@ -660,21 +660,14 @@ abortUnderflow:
.name:
.db "(uflw)", 0
.fill 41
.db "BYE"
.dw $-QUIT
.db 3
BYE:
.dw nativeWord
halt
.fill 50
; STABLE ABI
; Offset: 02aa
.out $
; ( c -- )
.db "EMIT"
.dw $-BYE
.dw $-QUIT
.db 4
EMIT:
.dw compiledWord

View File

@ -246,6 +246,10 @@ CODE IMMED?
DE PUSHqq,
;CODE
CODE BYE
HALT,
;CODE
CODE (resSP)
( INITIAL_SP == JTBL+28 )
SP JTBL 28 + @ LDdd(nn),