aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/int-store.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/int-store.asm')
-rw-r--r--amforth-6.5/avr8/words/int-store.asm16
1 files changed, 16 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/int-store.asm b/amforth-6.5/avr8/words/int-store.asm
new file mode 100644
index 0000000..9189ba0
--- /dev/null
+++ b/amforth-6.5/avr8/words/int-store.asm
@@ -0,0 +1,16 @@
+; ( xt i -- )
+; Interrupt
+; stores XT as interrupt vector i
+VE_INTSTORE:
+ .dw $ff04
+ .db "int!"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_INTSTORE
+XT_INTSTORE:
+ .dw DO_COLON
+PFA_INTSTORE:
+ .dw XT_DOLITERAL
+ .dw intvec
+ .dw XT_PLUS
+ .dw XT_STOREE
+ .dw XT_EXIT