Chapter 3 Introduction to Operation

The contents of the final list file program1.lst are as follows.

 

 

program1.lst Page 1

 

Loc

*** PanaX Series MN1030 Cross Assembler ***

Object

Line

Source

global

data_set

 

 

1

 

 

 

2

_CODE

section

CODE, PUBLIC, 1

40000000

 

3

9000

4

main

mov

0, A0

40000000

5

 

40000002

2CFF00

6

 

mov

0xff, D0

40000005

2D8000

7

 

mov

0x80, D1

40000008

F8FEFCFCFF0C0000

8

 

jsr

data_set

40000010

00F8FE04

8

 

bra

main

40000014

CAF2

9

 

 

 

10

_DATA

section

DATA, PUBLIC, 4

40000024

00000000

11

12

data1

ds

4

 

 

13

 

end

 

***

Table ***

program1.lst Page 2

 

 

 

 

 

Symbol

40000016

T

data_set

 

 

 

 

 

 

40000000

T

main

 

 

 

40000024

D

data1

 

 

28 Basic Operation of Assembler and Linker

Page 40
Image 40
Panasonic MN1030 user manual Contents of the final list file program1.lst are as follows