use an interface for passing state to the disassembler instead of copying it into a structure for every line (nw).