aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/get-order.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/get-order.asm')
-rw-r--r--amforth-6.5/common/words/get-order.asm22
1 files changed, 22 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/get-order.asm b/amforth-6.5/common/words/get-order.asm
new file mode 100644
index 0000000..df9ee77
--- /dev/null
+++ b/amforth-6.5/common/words/get-order.asm
@@ -0,0 +1,22 @@
+; ( -- wid-n .. wid-1 n)
+; Search Order
+; Get the current search order word list
+
+.if cpu_msp430==1
+ HEADER(XT_GET_ORDER,9,"get-order",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_GET_ORDER:
+ .dw $ff09
+ .db "get-order",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_GET_ORDER
+XT_GET_ORDER:
+ .dw DO_COLON
+PFA_GET_ORDER:
+.endif
+ .dw XT_DOLITERAL
+ .dw CFG_ORDERLISTLEN
+ .dw XT_GET_STACK
+ .dw XT_EXIT