mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-28 08:58:07 +11:00
forth: Forth-ify "BYE"
This commit is contained in:
parent
e0eaa8ba63
commit
2db6ebc247
Binary file not shown.
@ -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
|
||||
|
@ -246,6 +246,10 @@ CODE IMMED?
|
||||
DE PUSHqq,
|
||||
;CODE
|
||||
|
||||
CODE BYE
|
||||
HALT,
|
||||
;CODE
|
||||
|
||||
CODE (resSP)
|
||||
( INITIAL_SP == JTBL+28 )
|
||||
SP JTBL 28 + @ LDdd(nn),
|
||||
|
Loading…
Reference in New Issue
Block a user