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:
86231a5
)
added primities
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 18 May 2021 14:55:00 +0000
(
00:55
+1000)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Tue, 18 May 2021 14:55:00 +0000
(
00:55
+1000)
stdio.asm
patch
|
blob
|
history
diff --git
a/stdio.asm
b/stdio.asm
index 7cf148dfca09e287db5bd7675efa64cd66524041..1773da2d3b76c9e98cdf5d3aa74872fd2f90fc19 100644
(file)
--- a/
stdio.asm
+++ b/
stdio.asm
@@
-195,3
+195,13
@@
p_emit_buffer: dq 0
popr rsi
next
+ WORD p_nl,'NL',dovalue
+ ;; ( -- c )
+ ;; Pushes a newline character on the stack
+ dq 10
+
+ WORD p_sp,'SP',dovalue
+ ;; ( -- c )
+ ;; Pushes a space character on the stack
+ dq 10
+