aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/l-paren.asm
blob: b1d0ef189a15d2ba9179355624e7120ed23731ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; ( "ccc<paren>" -- ) 
; Compiler
; skip everything up to the closing bracket on the same line

.if cpu_msp430==1
    IMMED(XT_PAREN,1,"(",DOCOLON)
.endif

.if cpu_avr8==1
VE_LPAREN:
    .dw $0001
    .db "(" ,0
    .dw VE_HEAD
    .set VE_HEAD = VE_LPAREN
XT_LPAREN:
    .dw DO_COLON
PFA_LPAREN:
.endif
    .dw XT_DOLITERAL
    .dw ')'
    .dw XT_PARSE
    .dw XT_2DROP
    .dw XT_EXIT