aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/msp430/words/mcu-sr-fetch.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/msp430/words/mcu-sr-fetch.asm')
-rw-r--r--amforth-6.5/msp430/words/mcu-sr-fetch.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/amforth-6.5/msp430/words/mcu-sr-fetch.asm b/amforth-6.5/msp430/words/mcu-sr-fetch.asm
new file mode 100644
index 0000000..98ab000
--- /dev/null
+++ b/amforth-6.5/msp430/words/mcu-sr-fetch.asm
@@ -0,0 +1,5 @@
+ CODEHEADER(XT_MCU_SR_FETCH,3,"sr@")
+ sub #2, PSP
+ mov TOS, 0(PSP)
+ mov r2, TOS
+ NEXT