wdc-utils/samples/hello2.lst
Kelvin Sherlock 14eb08e05e more samples.
2017-01-04 13:37:09 -05:00

44 lines
1.5 KiB
Plaintext

Tue Jan 3 2017 23:55 Page 1
***************************************
** WDC 65C816 Macro Assembler **
** **
** Version 3.49.1- Feb 6 2006 **
***************************************
1
2 ;
3 ; 2-segment code.
4 ;
5 include 'hello.macros'
6
7 macdelim {
8
9 CODE
10 00:0000: F4 xx xx pea #^text
11 00:0003: F4 xx xx pea #text
12 _WriteLine
+ 12 00:0006: A2 0C 1A ldx #$1a0c
+ 12 00:0009: 22 00 00 E1 jsl $e10000
13
14 00:000D: 6B rtl
15 ends
16
17 KDATA
18 text
19 pstr {'hello, world'}
+ 19 00:0000: 0C db end0002-start0002
+ 19 start0002
+ 19 00:0001: 68 65 6C 6C db 'hello, world'
00:0005: 6F 2C 20 77
00:0009: 6F 72 6C 64
+ 19 end0002
20 00:000D: ends
21
22
Lines assembled: 52
Errors: 0