disasm/sim: changed interface, added readline to sim