RASM2(1) General Commands Manual RASM2(1) (NAME) rasm2 - Radare2 (SYNOPSIS) rasm2 [-ACdDehHjLvwrNqxp] [-a arch] [-b bits] [-c cpu] [-F parser] [-k kernel] [-o ofile] [-s addr] [-@ addr] [-S syntax] [-i len] [-l len] [code|hex|-] (DESCRIPTION) (hexpair) (syntax) . -a arch -A -b bits (8, 16, 32, 64) -B / (-l ) -c cpu ( -a) -C C -d . rasm2 -d 9090 -D (opcode) -e big endian little endian -E ESIL -f file -F parser (pseudo) -h -hh -H [var] -i len / N -j json -k kernel (linux, windows, darwin, android, ios, ...) -l len / -L [name] RArch: (a=asm d=disasm e=esil p=parse) -LL [name] RAsm -N R2_NOPLUGINS=1 r2 -N -o ofile 'rasm2 -Bf a.asm' -p SPP -q ( -L, -v, ...) -r r2 -s addr / ( 0) -@ addr -s -S syntax (intel, att, masm, ...) -v -w (what's op) -x dword (ENVIRONMENT) R2_NOPLUGINS ( ) R2_PLUGINS_ORDER : i=internal, e=env, h=home, s=system =iehs ? R2_LOG_LEVEL (log level) R2_DEBUG R2_DEBUG_ASSERT (assertions) RASM2_ARCH rasm2 -a RASM2_BITS rasm2 -b (DIRECTIVES) : $ rasm2 -hh (EXAMPLES) : $ rasm2 -a x86 -b 32 'mov eax, 33' : $ rasm2 -d 90 : $ rasm2 -L : $ rasm2 -a x86 -b 32 -S att 'mov eax, 33' JSON: $ rasm2 -j -a x86 -b 32 'mov eax, 33' big endian: $ rasm2 -e -a arm -b 32 'add r0, r0, r1' ESIL: $ rasm2 -d -E 90 (SEE ALSO) radare2(1) (AUTHORS) pancake July 10, 2025