added primities
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Tue, 18 May 2021 14:55:00 +0000 (00:55 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Tue, 18 May 2021 14:55:00 +0000 (00:55 +1000)
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
+