aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/udefer-store.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/udefer-store.asm')
-rw-r--r--amforth-6.5/common/words/udefer-store.asm25
1 files changed, 25 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/udefer-store.asm b/amforth-6.5/common/words/udefer-store.asm
new file mode 100644
index 0000000..447f58e
--- /dev/null
+++ b/amforth-6.5/common/words/udefer-store.asm
@@ -0,0 +1,25 @@
+; ( xt1 xt2 -- )
+; System
+; does the real defer! for user based defers
+
+.if cpu_msp430==1
+ HEADER(XT_UDEFERSTORE,7,"Udefer!",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_UDEFERSTORE:
+ .dw $ff07
+ .db "Udefer!",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_UDEFERSTORE
+XT_UDEFERSTORE:
+ .dw DO_COLON
+PFA_UDEFERSTORE:
+.endif
+
+ .dw XT_FETCHI
+ .dw XT_UP_FETCH
+ .dw XT_PLUS
+ .dw XT_STORE
+ .dw XT_EXIT
+