aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/get-current.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/get-current.asm')
-rw-r--r--amforth-6.5/avr8/words/get-current.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/get-current.asm b/amforth-6.5/avr8/words/get-current.asm
new file mode 100644
index 0000000..a016a95
--- /dev/null
+++ b/amforth-6.5/avr8/words/get-current.asm
@@ -0,0 +1,15 @@
+; ( -- wid)
+; Search Order
+; get the wid of the current compilation word list
+VE_GET_CURRENT:
+ .dw $ff0b
+ .db "get-current",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_GET_CURRENT
+XT_GET_CURRENT:
+ .dw DO_COLON
+PFA_GET_CURRENT:
+ .dw XT_DOLITERAL
+ .dw CFG_CURRENT
+ .dw XT_FETCHE
+ .dw XT_EXIT