aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/fetch-u.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/fetch-u.asm')
-rw-r--r--amforth-6.5/avr8/words/fetch-u.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/fetch-u.asm b/amforth-6.5/avr8/words/fetch-u.asm
new file mode 100644
index 0000000..6e94616
--- /dev/null
+++ b/amforth-6.5/avr8/words/fetch-u.asm
@@ -0,0 +1,15 @@
+; ( offset -- n )
+; Memory
+; read 1 cell from USER area
+VE_FETCHU:
+ .dw $ff02
+ .db "@u"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_FETCHU
+XT_FETCHU:
+ .dw DO_COLON
+PFA_FETCHU:
+ .dw XT_UP_FETCH
+ .dw XT_PLUS
+ .dw XT_FETCH
+ .dw XT_EXIT