摘要 |
PURPOSE:To execute both softwares for the slave type of a machine and the host type of the machine by being provided with a function to execute the instruction set of the slave type of the machine and a function to execute the instruction set of the higher type of the machine. CONSTITUTION:A single chip microcomputer 101 is provided with both the function emulation function to execute the instruction set of a slave type of a machine and the function to execute an inherent instruction set. In the microcomputer 101, a CPU 102, an input output device 103, a code converting memory 104 and an instruction code selector 105 are included. In a code converting memory 104, a code converting table to convert the instruction code of the salve type of the machine to the instruction code of the host type of the machine is contained. An instruction code selector 104 selects whether the code is the instruction code on an internal data bus 111 or the instruction code in the code converting memory 104 and sends the result to CPU 102. In a memory 106, the program which the single chip microcomputer 101 executes by a native mode, the program which the microcomputer executes by an emulation mode and processing data are contained.
|