wdc-utils/samples/labels.lst

83 lines
3.2 KiB
Plaintext
Raw Normal View History

2017-01-05 20:41:07 +00:00
Thu Jan 5 2017 15:23 Page 1
2017-01-04 18:53:30 +00:00
***************************************
** 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
2017-01-05 20:41:07 +00:00
8 public public_equ, public_gequ, variable
2017-01-04 18:53:30 +00:00
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
2017-01-05 20:41:07 +00:00
31 00000000 variable var $0000
32 00000001 variable var variable+1
33 code_label
34 00:0001: A9 xx xx lda #extern_label
35 ends
36
37 data
38 00:0000: EA nop
39 00001234 data_equ equ $1234
40 data_label
41 00:0001: ends
42
43 udata
44 00:0000: EA nop
45 00001234 udata_equ equ $1234
46 udata_label
47 00:0001: ends
48
49 kdata
50 00:0000: EA nop
51 00001234 kdata_equ equ $1234
52 kdata_label
Thu Jan 5 2017 15:23 Page 2
2017-01-04 18:53:30 +00:00
2017-01-05 20:41:07 +00:00
53 00:0001: ends
54
55 offset_s section offset $200
56 00:0200: EA nop
57 00000201 offset_equ equ *
58 offset_label
59 00:0201: ends
60
61 indir_s section indirect $200
62 00:0200: EA nop
63 00000201 indir_equ equ *
64 indir_label
65 00:0201: ends
66
2017-01-04 18:53:30 +00:00
2017-01-05 20:41:07 +00:00
Lines assembled: 66
2017-01-04 18:53:30 +00:00
Errors: 0