RASM2(1) | General Commands Manual | RASM2(1) |
rasm2
— 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
-LL
-o
offset-@
offset-O
ofile-r
-s
syntax-w
-x
-q
List the supported assembler and preprocessor directives with:
$rasm2 -hh
Assemble opcode:
$ rasm2 -a x86 -b 32 'mov eax, 33'
Disassemble opcode:
$ rasm2 -d 90
pancake <pancake@nopcode.org>
July 25, 2021 |