Last active
August 29, 2015 14:16
-
-
Save good5dog5/22e447e7e06dbb2a531a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arm-linux-gnueabihf-gcc -c -O2 -ggdb -Wall -fno-stack-protector -o example2.o example2.c | |
arm-linux-gnueabihf-as -o multiply.o multiply.s | |
multiply.s: Assembler messages: | |
multiply.s:12: Rd and Rm should be different in mla | |
arm-linux-gnueabihf-gcc -o example2 example2.o multiply.o | |
qemu-arm -L /usr/arm-linux-gnueabihf ./example2 | |
a * b is 140 | |
a * b + c is 143 | |
c - a * b is -137 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment