reimplement asm & disasm subcommand as using stdin