Playing with rasm2

Radare2’s assembler/disassembler is rasm2, and albeit being used internally, it is also a standalone binary that you can use. It can of course disassemble $ rasm2 -d 89d85d90 mov eax, ebx;pop ebp;nop but also assemble $ rasm2 'mov eax, ebx;pop ebp;nop' 89d85d90 Not only x86, but also mips $ rasm2 -a mips 'addiu a1, a2, 8' 0800c524 $ rasm2 -a mips -d 0800c524 addiu a1, a2, 8 and many more.
Uncategorized