projects
/
rrq
/
rrqforth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b656a03
)
changed to dump the word list
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 18 May 2021 08:22:42 +0000
(18:22 +1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 18 May 2021 08:22:42 +0000
(18:22 +1000)
rrqforth.asm
patch
|
blob
|
history
diff --git
a/rrqforth.asm
b/rrqforth.asm
index 9709fde6df03a0e85259d8ced4bd970d2ffe0bb1..0f7e8fbf3f9c944834555d5abdbffbfc1587eab1 100644
(file)
--- a/
rrqforth.asm
+++ b/
rrqforth.asm
@@
-100,18
+100,13
@@
main:
DOFORTH p_stream
pop qword [p_stdin_DFA]
- ;; read a word
- push qword 1 ; ( fd ) =stdout
- push qword [p_stdin_DFA]
- FORTH
- dq p_read_word ; ( fd s n )
- dq sys_write
- ENDFORTH
-
+ ;; Initial blurb
push qword 1 ; stdout
DOFORTH p_program_version ; version string => ( s n )
DOFORTH sys_write ; printout
pop rax ; ignore errors
+
+ DOFORTH p_words
push 0
DOFORTH sys_exit