pushpname rax
next
+ WORD p_calltrace,'calltrace',dovalue
+ ;; Common call point for debugging
+ ;; rax = cfa of called word
+ ;; rsi = cell* of next forth word
+ ;; [$rsp] = from where the call was
+ ret
+
include 'syscalls.asm'
;;; ========================================
;; followed by the argument pointers.
mov qword [p_args_DFA],rsp
jmp p_quit_DFA ; QUIT
-
+
;;; This word is also the last word before syscalls
last_forth_word:
WORD p_quit,'QUIT',fasm
dq p_program_version
dq p_tell
dq p_stdin
- dq p_clear_stream
- dq p_stdin
dq p_evaluate_stream
BRANCH 0,p_quit_ERROR
dq p_false