aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/2drop.asm
blob: 8db20034051c1137e9da89af09d7c742dee65b9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; ( x1 x2 --  ) 
; Stack
; Remove the 2 top elements

.if cpu_msp430==1
    HEADER(XT_2DROP,5,"2drop",DOCOLON)
.endif

.if cpu_avr8==1
VE_2DROP:
    .dw $ff05
    .db "2drop",0
    .dw VE_HEAD
    .set VE_HEAD = VE_2DROP
XT_2DROP:
    .dw DO_COLON
PFA_2DROP:
.endif
    .dw XT_DROP
    .dw XT_DROP
    .dw XT_EXIT