The following figure shows an example of object information output.
* RX FAMILY ASSEMBLER V2.00.00 [15 Feb 2013] * SOURCE LIST Mon Feb 18 20:15:19 2013 (1) (2) (3) (4) LOC. OBJ. 0XMDA SOURCE STATEMENT ;RX Family C/C++ Compiler (V2.00.00 [15 Feb 2013]) 18-Feb-2013 20:15:19 ;*** CPU TYPE *** ;-ISA=RXV1 ;*** COMMAND PARAMETER *** ;-output=src=sample.src ;-listfile ;-show=source ;sample.c .glb _x |
.glb _func02 .glb _func03 .glb _func01 (5) (6) ;LineNo. C-SOURCE STATEMENT .SECTION P,CODE 00000000 _func02: .STACK _func02=12 ; 1 #include "include.h" ; 2 int func01(int); ; 3 int func03(int); ; 4 ; 5 int func02(int z) 00000000 6E67 PUSHM R6-R7 00000002 EF16 MOV.L R1, R6 ; 6 { ; 7 x = func01(z); 00000004 05rrrrrr A BSR _func01 00000008 FB72rrrrrrrr MOV.L #_x, R7 0000000E E371 MOV.L R1, [R7] ; 8 if (z == 2) { 00000010 6126 CMP #02H, R6 00000012 18 S BNE L12 00000013 L11: ; bb3 ; 9 x++; 00000013 6211 ADD #01H, R1 00000015 08 S BRA L13 00000016 L12: ; bb6 ; 10 } else { ; 11 x = func03(x + 2); 00000016 6221 ADD #02H, R1 00000018 39rrrr W BSR _func03 0000001B L13: ; bb13 0000001B E371 MOV.L R1, [R7] ; 12 } ; 13 return x; ; 14 } 0000001D 3F6702 RTSD #08H, R6-R7 00000020 _func03: .STACK _func03=4 ; 15 ; 16 int func03(int p) ; 17 { ; 18 return p+1; 00000020 6211 ADD #01H, R1 ; 19 } 00000022 02 RTS .SECTION D,ROMDATA,ALIGN=4 00000000 _y: 00000000 01000000 .lword 00000001H |
Location address of the object code that can be determined at assembly. |
||||||
Object code information (OBJ.) Object code corresponding to the mnemonic of the source code. |
||||||
Results of source code processing by the assembler. The following shows the meaning of each symbol. |
||||||
Shows the line where the condition is false in conditional assembly when -show=conditions is specified. |
||||||
Shows the line expanded from a macro instruction when -show=expansions is specified. |
||||||
Shows the line that defines a macro instruction when -show=definitions is specified. |
||||||
Shows that a substitute instruction is selected for a conditional branch instruction. |
||||||
C/C++ source statement (C-SOURCE STATEMENT) C/C++ source statement output when the -show=source option is specified. |