pub fn disasm_memory_once<C: Cpu>(pc: u16, memory: &[u8]) -> Option<CpuDebug>
Expand description

Interprets a given memory chunk as a machine code instruction.

  • pc - the address of the first byte of memory chunk given.
  • memory - a chunk of memory to disassemble.

When an instruction is found the function returns Some(CpuDebug). Otherwise returns None.