Minimal instruction set computer
Minimal instruction set computer is a central processing unit architecture, usually in the form of a microprocessor, with a very small number of basic operations and corresponding opcodes, together forming an instruction set. Such sets are commonly stack-based rather than register-based to reduce the size of operand specifiers.
Such a stack machine architecture is inherently simpler since all instructions operate on the top-most stack entries. One result of the stack architecture is an overall smaller instruction set, allowing a smaller and faster instruction decode unit with overall faster operation of individual instructions.
Characteristics and design philosophy
Separate from the stack definition of a MISC architecture, is the MISC architecture being defined by the number of instructions supported.- Typically a minimal instruction set computer is viewed as having 32 or fewer instructions, where NOP, RESET, and CPUID type instructions are usually not counted by consensus due to their fundamental nature.
- 32 instructions is viewed as the highest allowable number of instructions for a MISC, though 16 or 8 instructions are closer to what is meant by "Minimal Instructions".
- A MISC CPU cannot have zero instructions as that is a zero instruction set computer.
- A MISC CPU cannot have one instruction as that is a one instruction set computer.
- The implemented CPU instructions should, by default, not support a wide set of inputs, so this typically means an 8-bit or 16-bit CPU.
- If a CPU has an NX bit, it is more likely to be viewed as being a complex instruction set computer or reduced instruction set computer.
- MISC chips typically lack hardware memory protection of any kind, unless there is an application specific reason to have the feature.
- If a CPU has a microcode subsystem, that excludes it from being a MISC.
Example CPUs
Tube-based processors
Some of the first tube-based digital computers implemented with instruction sets are by modern definition minimal instruction set computers. All are serial computers except for Whirlwind.- Manchester Baby made its first successful run of a stored program on June 21, 1948. It supported seven instructions.
- Electronic Delay Storage Automatic Calculator was the first practical stored-program electronic computer. It had twelve instructions.
- Manchester Mark 1 Developed from the Baby. It had 30 instructions.
- Electronic Discrete Variable Automatic Computer. It had twelve instructions.
- The Standards Eastern Automatic Computer was demonstrated in April 1950. It had eleven instructions.
- MESM performed its first test run in Kyiv on November 6, 1950. It had ten instructions.
- The Whirlwind was completed in December 1950 and was in actual use in April 1951. It had 27 instructions.
- Librascope LGP-30 is an mass-produced desk-sized computer introduced in 1956. It has sixteen instructions.
Integrated circuit processors
Probably the most commercially successful MISC was the original Inmos transputer architecture that has no floating-point unit. It has sixteen primary and sixteen secondary instructions.The Signetics 8X300 is an 8-bit microprocessor introduced in 1976. It has eight instructions.
Each STEREO spacecraft includes two P24 MISC CPUs and two CPU24 soft processors.
Design weaknesses
The disadvantage of a MISC is that instructions tend to have more sequential dependencies, reducing overall instruction-level parallelism.MISC architectures have much in common with some features of some programming languages such as Forth's use of the stack, and the Java virtual machine. Both are weak in providing full instruction-level parallelism. However, one could employ macro-op fusion as a means of executing common instruction phrases as individual steps.