aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/bracketcompile.asm
blob: 01a15127f25efe4e13d19493d0506d96458160c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; ( -- c ) (C: "<space>name" -- )
; Compiler
; Append the compilation semantics of "name" to the dictionary, if any

.if cpu_msp430==1
    IMMED(XT_BRACKETCOMPILE,9,"[compile]",DOCOLON)
.endif

.if cpu_avr8==1
VE_BRACKETCOMPILE:
    .dw $0009
    .db "[compile]",0
    .dw VE_HEAD
    .set VE_HEAD = VE_BRACKETCOMPILE
XT_BRACKETCOMPILE:
    .dw DO_COLON
PFA_BRACKETCOMPILE:
.endif
    .dw XT_COMPILE
    .dw XT_COMPILE
    .dw XT_TICK
    .dw XT_COMMA
    .dw XT_EXIT