16-bit processor in VHDL