摘要 |
<p>PROBLEM TO BE SOLVED: To provide a fixed-length microcomputer such as RISC capable of executing different processing defined by a plurality of banks while switching a bank, and dealing with interruption while limiting the number of commands to be added to a minimum.SOLUTION: A command set has a plurality of banks, and different processing is allocated to the same command for each bank. The command set includes a bank changing command. A microcomputer includes a bank state holding circuit indicating which bank a read command code belongs to, and a command execution circuit changed in processing content based on a bank state value stored in the bank state holding circuit. The microcomputer changes the bank state value stored in the bank state holding circuit when a bank changing command is read. When interruption occurs, the bank state value is saved, and recovered when an interruption routine is ended.</p> |