The location counter value, code, line number, and source program under assembly is output.
The output example of the assemble list is shown below.
(1)       (2)                 (3) (4) 
OFFSET    CODE                NO  SOURCE STATEMENT 
  
00000000                       1  #CC-RH Compiler RH850 Assembler Source 
00000000                       2  #@      CC-RH Version : VX.XX.XXx [DD Mmm YYY] 
00000000                       3  #@      Command : main.c -Xcommon=rh850 -S 
00000000                       4  #@      compiled at Sun Jan 1 00:00:00 2012 
00000000                       5          .cseg text 
00000000                       6          ld.w $_data,r12 
00000000  440E0000              -- movhi       0x0,gp,r1 
00000004  21670100              -- ld.w        0x0[r1],r12 
00000008                       7 
00000000                       8          .dseg data 
00000000  00000000             9  _data:  .dw 0 
00000004                      10 
 | 
 
| 
 | 
 | 
| 
 | 
 
Location counter value 
The location counter value for the beginning of the code generated for the source program of the corresponding line is output. 
 | 
| 
 | 
 
Code 
The code (machine language instruction or data) generated for the source program of the corresponding line is output. 
Each byte is expressed as 2-digit hexadecimal number. 
 | 
| 
 | 
 
Line number 
The number of the line is output. 
This is expressed in a decimal number. 
 | 
| 
 | 
 
Source program 
The source program of the line is output. 
If instruction expansion is performed for the instruction at that line, the disassembly of the array of machine language instructions generated after the instruction expansion is displayed after "--". 
Compiler information (lines 1 to 4) is output only when an assembly source file output from the compiler is assembled. 
 |