aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/bounds.asm
blob: 0dd05550637074d3488889ecfcbcc034f190f47f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; ( addr len -- addr+len addr ) 
; Tools
; convert a string to an address range

.if cpu_msp430==1
    HEADER(XT_BOUNDS,6,"bounds",DOCOLON)
.endif

.if cpu_avr8==1
VE_BOUNDS:
    .dw $ff06
    .db "bounds"
    .dw VE_HEAD
    .set VE_HEAD = VE_BOUNDS
XT_BOUNDS:
    .dw DO_COLON
PFA_BOUNDS:
.endif
    .dw XT_OVER
    .dw XT_PLUS
    .dw XT_SWAP
    .dw XT_EXIT