2017-01-04 18:53:30 +00:00
|
|
|
;
|
|
|
|
; test labels
|
|
|
|
;
|
|
|
|
|
|
|
|
extern extern_label
|
|
|
|
|
|
|
|
public public_label
|
2017-01-05 20:41:07 +00:00
|
|
|
public public_equ, public_gequ, variable
|
2017-01-04 18:53:30 +00:00
|
|
|
|
|
|
|
private_label
|
|
|
|
public_label
|
|
|
|
|
|
|
|
public_equ equ $1234
|
|
|
|
public_gequ gequ $1234
|
|
|
|
|
|
|
|
private_equ equ $1234
|
|
|
|
private_gequ gequ $1234
|
|
|
|
|
|
|
|
globals on
|
|
|
|
|
|
|
|
page0
|
|
|
|
nop
|
|
|
|
page0_equ equ $1234
|
|
|
|
page0_label
|
|
|
|
ends
|
|
|
|
|
|
|
|
|
|
|
|
code
|
|
|
|
nop
|
|
|
|
code_equ equ $1234
|
2017-01-05 20:41:07 +00:00
|
|
|
variable var $0000
|
|
|
|
variable var variable+1
|
2017-01-04 18:53:30 +00:00
|
|
|
code_label
|
2017-01-05 20:41:07 +00:00
|
|
|
lda #extern_label
|
2017-01-04 18:53:30 +00:00
|
|
|
ends
|
|
|
|
|
|
|
|
data
|
|
|
|
nop
|
|
|
|
data_equ equ $1234
|
|
|
|
data_label
|
|
|
|
ends
|
|
|
|
|
|
|
|
udata
|
|
|
|
nop
|
|
|
|
udata_equ equ $1234
|
|
|
|
udata_label
|
|
|
|
ends
|
|
|
|
|
|
|
|
kdata
|
|
|
|
nop
|
|
|
|
kdata_equ equ $1234
|
|
|
|
kdata_label
|
|
|
|
ends
|
|
|
|
|
|
|
|
offset_s section offset $200
|
|
|
|
nop
|
|
|
|
offset_equ equ *
|
|
|
|
offset_label
|
|
|
|
ends
|
|
|
|
|
|
|
|
indir_s section indirect $200
|
|
|
|
nop
|
|
|
|
indir_equ equ *
|
|
|
|
indir_label
|
|
|
|
ends
|
|
|
|
|