writing ARM Assembly on the Freerunner
Timo Juhani Lindfors
timo.lindfors at iki.fi
Tue Nov 9 10:49:55 CET 2010
captain.deadly at gmail.com writes:
> Does anybody know is there an assembler which I can use on the Freerunner and
> run programs from there via ssh?
At least in debian the following works:
$ apt-get install build-essential
$ cat > hello.s <<EOF
.global main
main:
stmfd sp!, {fp, lr}
ldr r0, =msg
bl puts
ldmfd sp!, {fp, lr}
bx lr
msg:
.asciz "Hello world"
EOF
$ gcc -o hello hello.s
$ ./hello
Hello world
More information about the devel
mailing list