rasm2
radare2 assembler and disassembler tool
- Provided by: radare2 (Version: 4.2.1+dfsg-2)
- Report a bug
radare2 assembler and disassembler tool
rasm2 |
[-ABdDeEfCLvwrqx] [-a
arch] [-b
bits] [-c
cpu] [-F
in:out] [-o
offset] [-@
offset] [-O
ofile] [-s
syntax] [-i
int] [-l
int] [ARG] |
This tool uses r_asm to assemble and disassemble files or hexpair strings. It supports a large list of architectures which can be listed using the -L flag.
-a
arch-A-b
bits-B-c
cpu-C-d-D-e-E-f-F
in:out-h-hh-l
int-i
int-L-o
offset-@
offset-O
ofile-r-s
syntax-w-x-q-.intel_syntax-.att_syntax-string-.align-.arch-.arm-.ascii-.bits-.data-.equ-.fill-.glob-.hex-.int16-.int32-.int64-.kernel-.offset-.org-.os-.short-.text-.thumbAssemble opcode:
$ rasm2 -a x86 -b 32 'mov eax, 33'
Disassemble opcode:
$ rasm2 -d 90
radare2(1), rafind2(1), rahash2(1), rabin2(1), radiff2(1), ragg2(1), rarun2(1), rax2(1),
pancake <pancake@nopcode.org>