Abstract: Even in the case where a microcomputer according to the present invention is directly connected to a bus in a LAN, it is possible to upgrade the data transfer speed of the LAN. When a built-in exclusive-OR circuit in the SIO of the microcomputer detects the discordance between a signal at an R.times.D terminal and a signal at a T.times.D terminal, a D flip-flop circuit generates and sends out an interrupt signal to the CPU. The CPU is made to recognize the collision of signals by the generation of the interrupt signal.