The directive you are looking for is '.bits', but anyway, i dont think thumb assembler is implemented.

Want to contribute?

On 06/16/12 18:03, Ahmad Siar Mehri wrote:
I want to compile some arm code which have thumb mode as well, .code 16 but I can't compile the whole file with rasm2 -a arm -f add.S
On 05/09/2012 09:35 AM, pancake wrote:
On 05/08/12 18:55, ahmad siar mehri wrote:
I have a problem assembling with rasm2, I already wrote the code in gedit with a file name add.s but how would I be able to assemble it,

with best regards,

--
bear in mind that not all opcodes are supported by the arm asm plugin. if you need any nonsupported opcode just check the code and send patches :) (or just a mail here asking for someone to implement it)

$ rasm2 -a arm -f add.s

You will get an hexpair list to stdout. If you want it in raw just use the -B flag

--pancake
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org



_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to