Online Assembler and Disassembler

by @Jonathan Salwan using Keystone and Capstone projects.

 

ARM ARM (thumb) AArch64 Mips (32) Mips (64) PowerPC (32) PowerPC (64)
Sparc x86 (16) x86 (32) x86 (64)

Inline Python Hex C-Array

 

Assembly - Little Endian

code = [
    b"\xc0\x53\x00\x91", # add x0, x30, #20
    b"\xe1\x03\x1f\xaa", # mov x1, xzr
    b"\xe2\x03\x1f\xaa", # mov x2, xzr
    b"\xa8\x1b\x80\xd2", # mov x8, #221
    b"\x01\x00\x00\xd4", # svc 0
    b"\x2f\x62\x69\x6e\x2f\x73\x68", # .ascii "/bin/sh"
]
raw = b"".join(code)

 

 

ARM ARM (thumb) AArch64 Mips (32) Mips (64) PowerPC (32) PowerPC (64)
Sparc x86 (16) x86 (32) x86 (64)

Little Endian Big Endian

Base addr

Addresses Bytescodes Instructions