摘要 |
PURPOSE:To improve considerably the degree of freedom for the allocation of a memory area at designing a system, by providing a comparator which detects the coincidence between the contents of the base address register of a program stroage part and the contents of the high-order part of a program counter. CONSTITUTION:The base address register 3 and the high-order address part 21 of the program counter 2 have the same number of bits, and their contents are sent to and compared by the comparator 4 with each other. Consequently, when they coincide with each other, a coincidence signal 13 is made active and codes out of an ROM1 are outputted to an internal bus 12 through an ROM output buffer 7. When they do not coincide, a data buffer 8 is activated through the operation of an inverter 11 and codes stored in an external memory are fetched to the bus 12. At this time, the buffer is place in a high-impedance state to inhibit transfer from the ROM1 to the code bus 12. |