wdc-utils/samples/labels.lst

80 lines
3.0 KiB
Plaintext
Raw Normal View History

2017-01-04 18:53:30 +00:00
Wed Jan 4 2017 13:51 Page 1
***************************************
** WDC 65C816 Macro Assembler **
** **
** Version 3.49.1- Feb 6 2006 **
***************************************
1 ;
2 ; test labels
3 ;
4
5 extern extern_label
6
7 public public_label
8 public public_equ, public_gequ
9
10 private_label
11 public_label
12
13 00001234 public_equ equ $1234
14 00001234 public_gequ gequ $1234
15
16 00001234 private_equ equ $1234
17 00001234 private_gequ gequ $1234
18
19 globals on
20
21 page0
22 00:0000: EA nop
23 00001234 page0_equ equ $1234
24 page0_label
25 00:0001: ends
26
27
28 code
29 00:0000: EA nop
30 00001234 code_equ equ $1234
31 code_label
32 ends
33
34 data
35 00:0000: EA nop
36 00001234 data_equ equ $1234
37 data_label
38 ends
39
40 udata
41 00:0000: EA nop
42 00001234 udata_equ equ $1234
43 udata_label
44 ends
45
46 kdata
47 00:0000: EA nop
48 00001234 kdata_equ equ $1234
49 kdata_label
50 ends
51
52 offset_s section offset $200
Wed Jan 4 2017 13:51 Page 2
53 00:0200: EA nop
54 00000201 offset_equ equ *
55 offset_label
56 00:0201: ends
57
58 indir_s section indirect $200
59 00:0200: EA nop
60 00000201 indir_equ equ *
61 indir_label
62 00:0201: ends
63
Lines assembled: 63
Errors: 0