aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/set-order.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/common/words/set-order.asm')
-rw-r--r--amforth-6.5/common/words/set-order.asm23
1 files changed, 23 insertions, 0 deletions
diff --git a/amforth-6.5/common/words/set-order.asm b/amforth-6.5/common/words/set-order.asm
new file mode 100644
index 0000000..f9b0439
--- /dev/null
+++ b/amforth-6.5/common/words/set-order.asm
@@ -0,0 +1,23 @@
+; ( widn .. wid-1 n -- )
+; Search Order
+; replace the search order list
+
+.if cpu_msp430==1
+ HEADER(XT_SET_ORDER,9,"set-order",DOCOLON)
+.endif
+
+.if cpu_avr8==1
+VE_SET_ORDER:
+ .dw $ff09
+ .db "set-order",0
+ .dw VE_HEAD
+ .set VE_HEAD = VE_SET_ORDER
+XT_SET_ORDER:
+ .dw DO_COLON
+PFA_SET_ORDER:
+.endif
+ .dw XT_DOLITERAL
+ .dw CFG_ORDERLISTLEN
+ .dw XT_SET_STACK
+ .dw XT_EXIT
+