aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/recurse.asm
blob: c1f011436f963ab7f8b1c89151a54b3d19b46944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; ( -- ) 
; Compiler
; compile the XT of the word currently being defined into the dictionary

.if cpu_msp430==1
   IMMED(RECURSE,7,"recurse",DOCOLON)
.endif

.if cpu_avr8==1
VE_RECURSE:
    .dw $0007
    .db "recurse",0
    .dw VE_HEAD
    .set VE_HEAD = VE_RECURSE
XT_RECURSE:
    .dw DO_COLON
PFA_RECURSE:
.endif
    .dw XT_LATEST
    .dw XT_FETCH
    .dw XT_COMMA
    .dw XT_EXIT