Chapter 14 Reading List Files

14.2.1 Output Format of Machine Language Code

The output format of the machine language code section is shown below.

Location

Machine

 

Supplemental

Line

 

Supplemental

Source

 

Language Code

 

Information

 

Number

 

Information

 

Statement

Loc

Object

+

 

Line

+

 

Source

 

M

.

 

 

 

@

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Each of these fields is described below.

Location (Loc)

The location field shows the location counter values during assembly.

For section address format programs, the location field shows the relative value from the start of the section. However, if the assembly is to output the final list by incorporating the map file from linking, the location field will match the execution addresses.

Machine language code (Object)

This field shows machine language code.

The eight bits of one byte are shown as two hexadecimal digits. These are 1-byte, 2-byte, 3-byte and 4- byte instructions.

Machine language code supplemental information

The characters +, M, and @ may be added to the machine language code as supplemental information. The meaning of each character is as follows.

+This line includes an externally defined symbol whose value will be determined during linking. The machine language code does not indicate the final values.

M

This line is a result of macro expansion.

@This line includes an instruction whose value will be the object of optimization during linking. The machine language code does not indicate the final values.

Line number (Line)

The assembler adds a line number to each source statement.

268 Reading List Files

Page 280
Image 280
Panasonic MN1030 Output Format of Machine Language Code, Location Loc, Machine language code Object, Line number Line