ARM assembly under Linux
Hi there!!
I need to learn ARM assembly, and I use Linux. Please, could you give me any starting point about how to install it?? I do not pretend that you teach me ARM assembly. Just a link. thank you very much!!! |
Welcome to LQ.
Google .. linux assembler arm .. http://asm.sourceforge.net/resources.html > ARM Assembler Programming > http://www.heyrick.co.uk/assembler/ |
If you use Ubuntu, you can install gcc-4.x-arm-linux-gnueabihf if you have an ARM with hardfloat, or gcc-4.x-arm-linux-gnueabi if without. For AVR, there is gcc-avr. These pull in the other necessary packages. I'm sure similar packages are available on just about all Linux distributions.
Why do I suggest a C compiler when you asked about learning assembly? Because writing a bit of C code, and compiling it to the corresponding assembly using the -S flag can be very instructive. If you know C, you'll probably want to dabble with inline assembly to enhance your learning curve. Also, the above packages do install the necessary binutils too for compiling pure assembly source. Note that the GNU toolchain uses the AT&T syntax, not Intel syntax. |
Thank you very much!! that solved my problem!
|
Another quick introduction to ARM assembly and reverse engineering: http://yurichev.com/writings/RE_for_beginners-en.pdf
|
All times are GMT -5. The time now is 01:11 PM. |