aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/pad.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/pad.asm')
-rw-r--r--amforth-6.5/common/words/pad.asm23
1 files changed, 23 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/pad.asm b/amforth-6.5/common/words/pad.asm
new file mode 100644
index 0000000..93a2863
--- /dev/null
+++ b/amforth-6.5/common/words/pad.asm
@@ -0,0 +1,23 @@
+; ( -- a-addr )
+; System Variable
+; Address of the temporary scratch buffer.
+
+.if cpu_msp430==1
+ HEADER(XT_PAD,3,"pad",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_PAD:
+ .dw $ff03
+ .db "pad",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_PAD
+XT_PAD:
+ .dw DO_COLON
+PFA_PAD:
+.endif
+ .dw XT_HERE
+ .dw XT_DOLITERAL
+ .dw 40
+ .dw XT_PLUS
+ .dw XT_EXIT