MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / decode

Function decode

crates/virtual-machine/src/cpu/pipeline/decode.rs:7–9  ·  view source on GitHub ↗

Decode a raw 32-bit instruction word into a `DecodedInsn`.

(raw: u32)

Source from the content-addressed store, hash-verified

5
6/// Decode a raw 32-bit instruction word into a `DecodedInsn`.
7pub fn decode(raw: u32) -> Result<DecodedInsn, VmError> {
8 decode_word(raw)
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected