摘要:
A single chip microprocessor 1 comprises a CPU 2 and a sub-processor 5 for implementing peripheral functions of the microprocessor 1 by software. The sub-processor 5 includes electrically writable internal storage devices called a microprogram memory unit 13 and a sequence control memory unit 62 for storing the software. Peripheral functions to be implemented by the sub-processor 5 can be defined or modified by writing software into the memory units 13 and 62. Accordingly, the time it takes to define or modify the peripheral functions is the same as the time it takes to program the memory units 13 and 62. The sub-processor 5 also includes an execution unit 16 for executing a plurality of tasks and an address control circuit 14 for providing addresses to the microprogram memory unit 13 in addition to the microprogram memory unit 13 for providing microinstructions to the execution unit 16. The sequence control memory unit 62 is part of the address control circuit 14 which also includes a plurality of address registers MAR0 to MAR11. The sequence control memory unit 62 is used for storing information on what order the multiple address registers MAR0 to MAR11 are to be selected in sequentially. One of the address registers MAR0 to MAR11 is selected at every read cycle performed on the sequence control memory unit 62. A microaddress stored in the selected one of the address registers MAR0 to MAR11 is then supplied to the microprogram memory unit 13. Task null information can also be stored in the sequence control memory unit 62. The selection of one of the address registers MAR0 to MAR11 at every read cycle allows the sub-processor 5 to operate on an event driven basis.
摘要:
A microcomputer MCU adopting the general purpose register method is enabled to have a small program capacity or a high program memory using efficiency and low system cost, while enjoying the advantage of simplification of the instruction decoding as in the RISC machine having a fixed length instruction format of the prior art, by adopting an instruction format of a fixed length of 2 n bits which is smaller than the length of the maximum data word fed to instruction execution means. The control of the coded division is executed by noting the code bits.
摘要:
A single chip microprocessor 1 comprises a CPU 2 and a sub-processor 5 for implementing peripheral functions of the microprocessor 1 by software. The sub-processor 5 includes electrically writable internal storage devices called a microprogram memory unit 13 and a sequence control memory unit 62 for storing the software. Peripheral functions to be implemented by the sub-processor 5 can be defined or modified by writing software into the memory units 13 and 62. Accordingly, the time it takes to define or modify the peripheral functions is the same as the time it takes to program the memory units 13 and 62. The sub-processor 5 also includes an execution unit 16 for executing a plurality of tasks and an address control circuit 14 for providing addresses to the microprogram memory unit 13 in addition to the microprogram memory unit 13 for providing microinstructions to the execution unit 16. The sequence control memory unit 62 is part of the address control circuit 14 which also includes a plurality of address registers MAR0 to MAR11. The sequence control memory unit 62 is used for storing information on what order the multiple address registers MAR0 to MAR11 are to be selected in sequentially. One of the address registers MAR0 to MAR11 is selected at every read cycle performed on the sequence control memory unit 62. A microaddress stored in the selected one of the address registers MAR0 to MAR11 is then supplied to the microprogram memory unit 13. Task null information can also be stored in the sequence control memory unit 62. The selection of one of the address registers MAR0 to MAR11 at every read cycle allows the sub-processor 5 to operate on an event driven basis.
摘要:
A single chip microprocessor l comprises a CPU 2 and a sub-processor 5 for implementing peripheral functions of the microprocessor l by software. The sub-processor 5 includes electrically writable internal storage devices called a microprogram memory unit l3 and a sequence control memory unit 62 for storing the software. Peripheral functions to be implemented by the sub-processor 5 can be defined or modified by writing software into the memory units l3 and 62. Accordingly, the time it takes to define or modify the peripheral functions is the same as the time it takes to program the memory units l3 and 62. The sub-processor 5 also includes an execution unit l6 for executing a plurality of tasks and an address control circuit l4 for providing addresses to the microprogram memory unit l3 in addition to the microprogram memory unit l3 for providing microinstructions to the execution unit l6. The sequence control memory unit 62 is part of the address control circuit l4 which also includes a plurality of address registers MAR0 to MARll. The sequence control memory unit 62 is used for storing information on what order the multiple address registers MAR0 to MARll are to be selected in sequentially. One of the address registers MAR0 to MARll is selected at every read cycle performed on the sequence control memory unit 62. A microaddress stored in the selected one of the address registers MAR0 to MARll is then supplied to the microprogram memory unit l3. Task null information can also be stored in the sequence control memory unit 62. The selection of one of the address registers MAR0 to MARll at every read cycle allows the sub-processor 5 to operate on an event driven basis.
摘要:
A single chip microprocessor l comprises a CPU 2 and a sub-processor 5 for implementing peripheral functions of the microprocessor l by software. The sub-processor 5 includes electrically writable internal storage devices called a microprogram memory unit l3 and a sequence control memory unit 62 for storing the software. Peripheral functions to be implemented by the sub-processor 5 can be defined or modified by writing software into the memory units l3 and 62. Accordingly, the time it takes to define or modify the peripheral functions is the same as the time it takes to program the memory units l3 and 62. The sub-processor 5 also includes an execution unit l6 for executing a plurality of tasks and an address control circuit l4 for providing addresses to the microprogram memory unit l3 in addition to the microprogram memory unit l3 for providing microinstructions to the execution unit l6. The sequence control memory unit 62 is part of the address control circuit l4 which also includes a plurality of address registers MAR0 to MARll. The sequence control memory unit 62 is used for storing information on what order the multiple address registers MAR0 to MARll are to be selected in sequentially. One of the address registers MAR0 to MARll is selected at every read cycle performed on the sequence control memory unit 62. A microaddress stored in the selected one of the address registers MAR0 to MARll is then supplied to the microprogram memory unit l3. Task null information can also be stored in the sequence control memory unit 62. The selection of one of the address registers MAR0 to MARll at every read cycle allows the sub-processor 5 to operate on an event driven basis.
摘要:
A microcomputer MCU adopting the general purpose register method is enabled to have a small program capacity or a high program memory using efficiency and low system cost, while enjoying the advantage of simplification of the instruction decoding as in the RISC machine having a fixed length instruction format of the prior art, by adopting an instruction format of a fixed length of 2 n bits which is smaller than the length of the maximum data word fed to instruction execution means. The control of the coded division is executed by noting the code bits.