摘要:
A single-chip microcomputer includes a program ROM storing a program; a central processing unit executing the program read out from the program ROM for performing data processing; an external data input port for receiving data to be processed by the central processing unit, from an external device; and an external data output port for outputting data processed by the central processing unit to an external device. The program ROM also stores a test program for testing the program ROM and a plurality of bytes of collation information. The central processing unit has a test mode for executing the test program, and compares the plurality of bytes of collation information with a corresponding number of bytes of data sequentially input through the external input port. The central processing unit selects one of the plurality of bytes of collation information and compares the selected byte of collation information with one byte of data input through the external input port when the selected byte of collation information is selected. Only when the plurality of bytes of collation information are consistent with all the bytes of data sequentially inputted through the external input port will the central processing unit allow contents stored in the program ROM to be output through the external output port.
摘要:
An information processing apparatus is provided with a buffer and accompanying circuitry for retrieving instruction code at a branch target address and providing that code to an execution unit within a single clock, much more quickly than the one bus cycle which has been required previously. Not only branches, but also interrupts may be handled with this relatively simple hardware, making the invention useful in the control field, among other applications. The buffer circuitry can store a plurality of branch target addresses and/or interrupt addresses.
摘要:
A microprocessor having two different modes of operation includes a mode flag which designates one of the two operation modes of the microprocessor, and a central processing unit which executes a program in one of the two operation modes designated by the mode flag. The central processing unit includes a microprogram memory which stores an interrupt initiation microprogram, an output device which is responsive to an interrupt request for reading out the interrupt initiation microprogram from the microprogram memory and a circuit for executing the interrupt initiation microprogram to generate a sampling signal. A mode terminal is provided, which is supplied with operation mode information. A circuit responsive to the sampling signal samples a logic level of the operation mode information at the mode terminal. A circuit is provided, which is responsive to the sampled logic level from the sampling circuit in order to bring the mode flag into one of set and reset states of the mode flag designation.