calccodsize

Calculate and return the number of bytes in an instruction starting at codec.

nothrow @nogc public
addr
calccodsize
(
ubyte[] code
,
addr c
,
out addr pc
,
uint model
)

Parameters

code ubyte[]

machine code as array of bytes

c addr

address of instruction (as index into code[])

pc addr

set to address of instruction after prefix

model uint

memory model, 16/32/64

Meta