Chapter 3 Introduction to Operation
28 Basic Operation of Assembler and Linker
The contents of the final list file program1.lst are as follows.
program1.lst Page 1
*** PanaX Series MN1030 Cross Assembler ***
Loc Object Line Source
1 global data_set
2
3 _CODE section CODE, PUBLIC, 1
40000000 4 main
40000000 9000 5 mov 0, A0
40000002 2CFF00 6 mov 0xff, D0
40000005 2D8000 7 mov 0x80, D1
40000008 F8FEFCFCFF0C0000 8 jsr data_set
40000010 00F8FE04 8
40000014 CAF2 9 bra main
10
11 _DATA section DATA, PUBLIC, 4
40000024 00000000 12 data1 ds 4
13 end
program1.lst Page 2
***
Symbol Table ***
40000016 T data_set
40000000 T main
40000024 D data1