aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/repeat.asm
blob: 9ee9b09654ca5a0d68c9f49875c0ce61a2dfbad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; ( --  ) (C: orig dest -- )
; Compiler
; continue execution at dest, resolve orig

.if cpu_msp430==1
    IMMED(XT_REPEAT,6,"repeat",DOCOLON)
.endif

.if cpu_avr8==1
VE_REPEAT:
    .dw $0006
    .db "repeat"
    .dw VE_HEAD
    .set VE_HEAD = VE_REPEAT
XT_REPEAT:
    .dw DO_COLON
PFA_REPEAT:
.endif
    .dw XT_AGAIN
    .dw XT_THEN
    .dw XT_EXIT