16-bit CPU simulator and assembler