aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/rp0.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/rp0.asm')
-rw-r--r--amforth-6.5/avr8/words/rp0.asm27
1 files changed, 27 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/rp0.asm b/amforth-6.5/avr8/words/rp0.asm
new file mode 100644
index 0000000..1909f1c
--- /dev/null
+++ b/amforth-6.5/avr8/words/rp0.asm
@@ -0,0 +1,27 @@
+; ( -- addr)
+; Stack
+; start address of return stack
+VE_RP0:
+ .dw $ff03
+ .db "rp0",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_RP0
+XT_RP0:
+ .dw DO_COLON
+PFA_RP0:
+ .dw XT_DORP0
+ .dw XT_FETCH
+ .dw XT_EXIT
+
+; ( -- addr)
+; Stack
+; user variable of the address of the initial return stack
+;VE_DORP0:
+; .dw $ff05
+; .db "(rp0)"
+; .dw VE_HEAD
+; .set VE_HEAD = VE_DORP0
+XT_DORP0:
+ .dw PFA_DOUSER
+PFA_DORP0:
+ .dw USER_RP