My first program on my Samsung Galaxy S

Aug 21, 2011 16:17


No, it is not a java program, it is in assembly, which was possible because I recently flashed Cyanogenmod on my phone. Here it is:

.text .global _start _start: mov r7, #1 mov r0, #42 swi #0
The program simply returns 42 and exits. I used my own cross-built binutils (--target=armv-android-eabi) to build this and simply copied it over to my ( Read more... )

arm android asm

Leave a comment

Comments 1

Wrong tag ext_275768 August 21 2011, 16:48:46 UTC
It seems you have a problem with the tag ( ie, there 1 tag of 3 word, and not 3 tag of 1 word ).

Reply


Leave a comment

Up