Question

Have firmware disassmbled with IDA (ARM920 Core).. most is Thumb mode....some is ARM mode Want to make some mods, in ASM.

What is the easiest way to turn few lines of ASM (well few dozen) into machine language. Can some one suggest a FREE tool / how to.

I just downloaded WinARM. Comes with Programmers Notepad. Been few hours now, trying to make sense of it all... just to compile a few lines of ASM... and the MAKE file i made, is still not working (some thing about end of line)

Was it helpful?

Solution

A tool that turns assembly code into machine code is called an assembler. Any of the usual toolchains include one. For ARM, you can try good old gcc. Source & binaries available: http://www.gnuarm.com/

Running the assembler should be as easy as:

gcc -o example.o example.s

You'll have to replace gcc in the example with the name of your cross-compiler. I think the one from the link I have above is arm-elf-gcc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top