aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/store-i.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/store-i.asm')
-rw-r--r--amforth-6.5/avr8/words/store-i.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/store-i.asm b/amforth-6.5/avr8/words/store-i.asm
new file mode 100644
index 0000000..a56fce2
--- /dev/null
+++ b/amforth-6.5/avr8/words/store-i.asm
@@ -0,0 +1,14 @@
+; ( n addr -- )
+; System Value
+; Deferred action to write a single 16bit cell to flash
+VE_STOREI:
+ .dw $ff02
+ .db "!i"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_STOREI
+XT_STOREI:
+ .dw PFA_DODEFER1
+PFA_STOREI:
+ .dw EE_STOREI
+ .dw XT_EDEFERFETCH
+ .dw XT_EDEFERSTORE