Support to write out disassembly
Fixes to read data correct from stream
Various fixes to support disassembly