aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/appl/template/words/qmark.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/appl/template/words/qmark.asm')
-rw-r--r--amforth-6.5/appl/template/words/qmark.asm17
1 files changed, 17 insertions, 0 deletions
diff --git a/amforth-6.5/appl/template/words/qmark.asm b/amforth-6.5/appl/template/words/qmark.asm
new file mode 100644
index 0000000..500a39e
--- /dev/null
+++ b/amforth-6.5/appl/template/words/qmark.asm
@@ -0,0 +1,17 @@
+; ( adr -- n ) Tools
+; R( -- )
+; print the content of addr
+VE_QMARK:
+ .dw $ff01
+ .db "?",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_QMARK
+XT_QMARK:
+ .dw DO_COLON
+PFA_QMARK:
+ .dw XT_FETCH
+ .dw XT_DOT
+ .dw XT_EXIT
+
+; : ? ( adr - n ) @ . ;
+; finis qmark \ No newline at end of file