[][src]Crate riscv_decode

Structs

BType
CsrIType
CsrType
IType
JType
RType
SType
UType

Enums

Instruction

Functions

instruction_length

Return the length (in bytes) of an instruction given the low 16 bits of it. The current spec reserves a bit pattern for instructions of length >= 192 bits, but for simplicity this function just returns 24 in that case.

try_decode
try_decode_load
try_decode_store
try_decode_system