Presentation is loading. Please wait.

Presentation is loading. Please wait.

Compiler RealView Development Suite 4.0 Supported ARM architecture

Similar presentations


Presentation on theme: "Compiler RealView Development Suite 4.0 Supported ARM architecture"— Presentation transcript:

1 Compiler RealView Development Suite 4.0 Supported ARM architecture
- ARMv4 – ARMv7

2 Sample Code Default ARM architecture: ARM7TDMI factorial.s
; generated by ARM C/C++ Compiler, RVCT4.0 [Build 400] ; commandline armcc [--c99 -c --asm -ofactorial.o --cpu=4T ..\factorial.c] main PROC MOV r0,#0 |L1.4| ADD r0,r0,#1 CMP r0,#4 BLT |L1.4| |L1.20| CMP r0,#3 BLT |L1.20| |L1.36| CMP r0,#2 BLT |L1.36| |L1.52| CMP r0,#1 BLT |L1.52| BX lr ENDP factorial.c int main(){ int i, x; int ans; for (x = 0, i=0; i<4; i++){ x = x + 5; } ans = x; for (x = 0, i=0; i<3; i++){ x = x + ans; for (x = 0, i=0; i<2; i++){ for (x = 0, i=0; i<1; i++){ return 0; Default ARM architecture: ARM7TDMI

3 Problems Encountered Acquiring a full version of the tool
Compiling the test program (radix.c)


Download ppt "Compiler RealView Development Suite 4.0 Supported ARM architecture"

Similar presentations


Ads by Google