aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/env-slashhold.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/env-slashhold.asm')
-rw-r--r--amforth-6.5/common/words/env-slashhold.asm22
1 files changed, 22 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/env-slashhold.asm b/amforth-6.5/common/words/env-slashhold.asm
new file mode 100644
index 0000000..9fa9468
--- /dev/null
+++ b/amforth-6.5/common/words/env-slashhold.asm
@@ -0,0 +1,22 @@
+; ( -- hldsize )
+; Environment
+; size of the pictured numeric output buffer in bytes
+
+.if cpu_msp430==1
+ ENVIRONMENT(XT_ENVSLASHHOLD,5,"/hold",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_ENVSLASHHOLD:
+ .dw $ff05
+ .db "/hold",0
+ .dw VE_ENVHEAD
+ .set VE_ENVHEAD = VE_ENVSLASHHOLD
+XT_ENVSLASHHOLD:
+ .dw DO_COLON
+PFA_ENVSLASHHOLD:
+.endif
+ .dw XT_PAD
+ .dw XT_HERE
+ .dw XT_MINUS
+ .dw XT_EXIT