mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 21:08:05 +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:
|
.name:
|
||||||
.db "(uflw)", 0
|
.db "(uflw)", 0
|
||||||
|
|
||||||
.fill 41
|
.fill 50
|
||||||
|
|
||||||
.db "BYE"
|
|
||||||
.dw $-QUIT
|
|
||||||
.db 3
|
|
||||||
BYE:
|
|
||||||
.dw nativeWord
|
|
||||||
halt
|
|
||||||
|
|
||||||
; STABLE ABI
|
; STABLE ABI
|
||||||
; Offset: 02aa
|
; Offset: 02aa
|
||||||
.out $
|
.out $
|
||||||
; ( c -- )
|
; ( c -- )
|
||||||
.db "EMIT"
|
.db "EMIT"
|
||||||
.dw $-BYE
|
.dw $-QUIT
|
||||||
.db 4
|
.db 4
|
||||||
EMIT:
|
EMIT:
|
||||||
.dw compiledWord
|
.dw compiledWord
|
||||||
|
@ -246,6 +246,10 @@ CODE IMMED?
|
|||||||
DE PUSHqq,
|
DE PUSHqq,
|
||||||
;CODE
|
;CODE
|
||||||
|
|
||||||
|
CODE BYE
|
||||||
|
HALT,
|
||||||
|
;CODE
|
||||||
|
|
||||||
CODE (resSP)
|
CODE (resSP)
|
||||||
( INITIAL_SP == JTBL+28 )
|
( INITIAL_SP == JTBL+28 )
|
||||||
SP JTBL 28 + @ LDdd(nn),
|
SP JTBL 28 + @ LDdd(nn),
|
||||||
|
Loading…
Reference in New Issue
Block a user