[<<][meta][>>][..]
Thu Mar 11 16:55:03 CET 2010

Assembler snarfing

# compiling C to assembler
cd /tmp
echo "int add(int a, int b) { return a + b; }" >test.c
gcc -S test.c -O3 -o -


# assembling to raw binary output:
arm-linux-as test.S -o test.o
arm-linux-objcopy -O binary test.o test.bin




[Reply][About]
[<<][meta][>>][..]