pub fn disasm_memory_write_text<C: Cpu, W: Write>(
    pc: u16,
    mem: &[u8],
    f: W
) -> Result
Expand description

Instead of providing your own debug function to disasm_memory, provide a fmt::Write implementation which will get disassembled instructions written as lines of text.