aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/cfg-order.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/cfg-order.asm')
-rw-r--r--amforth-6.5/common/words/cfg-order.asm19
1 files changed, 19 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/cfg-order.asm b/amforth-6.5/common/words/cfg-order.asm
new file mode 100644
index 0000000..2fba330
--- /dev/null
+++ b/amforth-6.5/common/words/cfg-order.asm
@@ -0,0 +1,19 @@
+; ( -- wid-n .. wid-1 n)
+; Search Order
+; Get the current search order word list
+
+.if cpu_msp430==1
+ HEADER(XT_CFG_ORDER,9,"cfg-order",DOCON)
+.endif
+
+.if cpu_avr8==1
+VE_CFG_ORDER:
+ .dw $ff09
+ .db "cfg-order",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_CFG_ORDER
+XT_CFG_ORDER:
+ .dw PFA_DOVARIABLE
+PFA_CFG_ORDER:
+.endif
+ .dw CFG_ORDERLISTLEN