range_diassamble

Diassamble a slice of binary data

string[ushort]
range_diassamble
(
in ushort[] data
,
bool comment = false
,
bool tab = false
,
ushort offset = 0
)

Parameters

data ushort[]

Slice of DCPU-16 binary data

comment bool

Add comments to assembly code with the addre and hex machine code

tab bool

auto tab

offset ushort

add a offset to addresses of each instruction Returns a asociative array where the key is a pair of addreses that contains the instruction in machine code

Meta