aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/int-on.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/int-on.asm')
-rw-r--r--amforth-6.5/avr8/words/int-on.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/int-on.asm b/amforth-6.5/avr8/words/int-on.asm
new file mode 100644
index 0000000..8b909da
--- /dev/null
+++ b/amforth-6.5/avr8/words/int-on.asm
@@ -0,0 +1,13 @@
+; ( -- )
+; Interrupt
+; turns on all interrupts
+VE_INTON:
+ .dw $ff04
+ .db "+int"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_INTON
+XT_INTON:
+ .dw PFA_INTON
+PFA_INTON:
+ sei
+ jmp_ DO_NEXT