aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/begin.asm
blob: b2e3c22ee181cd7cd8813e33c96d2af2bea2f565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; ( -- ) (C: -- dest ) 
; Compiler
; put the next location for a transfer of control onto the control flow stack

.if cpu_msp430==1
    IMMED(XT_BEGIN,5,"begin",DOCOLON)
.endif

.if cpu_avr8==1
VE_BEGIN:
    .dw $0005
    .db "begin",0
    .dw VE_HEAD
    .set VE_HEAD = VE_BEGIN
XT_BEGIN:
    .dw DO_COLON
PFA_BEGIN:
.endif
    .dw XT_LMARK
    .dw XT_EXIT