Part Number: TMS570LC4357
Tool/software: TI C/C++ Compiler
Hi,
I am doing Object Code Analysis for TMS570LC43x processor with ARM Compiler (5.1.10)=> armcl .
I am not finding documentation for the assembly programming. For example I have the below Object code, I am not sure how to interpret STMFD . I have
"ARM® and Thumb®-2 Instruction Set Quick Reference Card" document, But this is not detailed enough so that I can write an Analysis.
000000: E59FC1E8 LDR R12, $C$CON1 [0x1f0] ; Load address 0x1f0 to register R12.
000004: E92D4010 STMFD R13!, {R4, R14}
000008: E59C3004 LDR R3, [R12, #4] ; Load address 0x1f0 to register R12.
00000c: E59C2000 LDR R2, [R12]
000010: E3A00000 MOV R0, #0
000014: $C$L1:
000014: E3500006 CMP R0, #6
000018: B3A01003 MOVLT R1, #3
00001c: B2833001 ADDLT R3, R3, #1
000020: B58C3004 STRLT R3, [R12, #4]
000024: A2822001 ADDGE R2, R2, #1
000028: A58C2000 STRGE R2, [R12]
00002c: A3A01001 MOVGE R1, #1
000030: E3500000 CMP R0, #0
000034: E280E002 ADD R14, R0, #2
000038: 0A000059 BEQ $C$L14 [0x1a4]
00003c: E3500001 CMP R0, #1