Re: [gem5-users] Running Assembly code on ARM SE mode

2014-09-17 Thread GE ZHIGUO via gem5-users
-users] Running Assembly code on ARM SE mode Hi all Is it possible to write my own assembly code containing around 10-15 instructions and run it on gem5 without converting it into a binary with header and footer code? Thanks in advance. V Vanchinathan

Re: [gem5-users] Running Assembly code on ARM SE mode

2014-09-17 Thread Ali Saidi via gem5-users
You can run assembly code, but you’ll need to compile it. Something like the following will compile with gcc. It uses both ARM and Thumb code. .text .syntax unified .globl _start .arm _start: start: mov r0, #0x1 mov r1, #0 blx loop .thumb .align 7 loop: add r2, r1, #1 su

[gem5-users] Running Assembly code on ARM SE mode

2014-09-17 Thread Vanchinathan Venkataramani via gem5-users
Hi all Is it possible to write my own assembly code containing around 10-15 instructions and run it on gem5 without converting it into a binary with header and footer code? Thanks in advance. V Vanchinathan ___ gem5-users mailing list gem5-users@gem5.o