aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/avr8/words/const-fold-depth.asm
diff options
context:
space:
mode:
Diffstat (limited to 'amforth-6.5/avr8/words/const-fold-depth.asm')
-rw-r--r--amforth-6.5/avr8/words/const-fold-depth.asm18
1 files changed, 18 insertions, 0 deletions
diff --git a/amforth-6.5/avr8/words/const-fold-depth.asm b/amforth-6.5/avr8/words/const-fold-depth.asm
new file mode 100644
index 0000000..40b80eb
--- /dev/null
+++ b/amforth-6.5/avr8/words/const-fold-depth.asm
@@ -0,0 +1,18 @@
+; ( flagset -- n )
+; Tools
+; constant fold depth
+VE_CONSTFOLDDEPTH:
+ .dw $ff0a
+ .db "cfolddepth"
+ .dw VE_HEAD
+ .set VE_HEAD = VE_CONSTFOLDDEPTH
+XT_CONSTFOLDDEPTH:
+ .dw DO_COLON
+PFA_CONSTFOLDDEPTH:
+ .dw XT_DOLITERAL
+ .dw $7000
+ .dw XT_AND
+ .dw XT_DOLITERAL
+ .dw 12
+ .dw XT_RSHIFT
+ .dw XT_EXIT