From bf8a7c713298730826f02c4ece9f4735fcee2e4b Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Wed, 19 May 2021 00:55:00 +1000 Subject: [PATCH] added primities --- stdio.asm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/stdio.asm b/stdio.asm index 7cf148d..1773da2 100644 --- 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 + -- 2.39.2