adding arch detection to disassembly