aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/brackettick.asm
blob: 4905ae3a090b5cb16d1add19cc740027a1de1ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; ( -- xt ) (C: "<space>name" -- ) 
; Compiler
; what ' does in the interpreter mode, do in colon definitions

.if cpu_msp430==1
    IMMED(XT_BRACKETTICK,3,"[']",DOCOLON)
.endif

.if cpu_avr8==1
VE_BRACKETTICK:
    .dw $0003
    .db "[']",0
    .dw VE_HEAD
    .set VE_HEAD = VE_BRACKETTICK
XT_BRACKETTICK:
    .dw DO_COLON
PFA_BRACKETTICK:
.endif
    .dw XT_TICK
    .dw XT_LITERAL
    .dw XT_EXIT