aboutsummaryrefslogtreecommitdiff
path: root/amforth-6.5/common/words/source.asm
blob: a1ac86756f6759ab570001c302f7aaa5b39f075e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; ( -- addr n ) 
; System
; address and current length of the input buffer

.if cpu_msp430==1
    DEFER(XT_SOURCE,6,"source")
.endif

.if cpu_avr8==1
VE_SOURCE:
    .dw $FF06
    .db "source"
    .dw VE_HEAD
    .set VE_HEAD = VE_SOURCE
XT_SOURCE:
    .dw PFA_DODEFER1
PFA_SOURCE:
.endif
    .dw USER_SOURCE
    .dw XT_UDEFERFETCH
    .dw XT_UDEFERSTORE