Millicode


In computer architecture, millicode is a higher level of microcode used to implement the instruction set of a computer. Millicode runs on top of the microcoded instructions and uses those instructions to implement more complex instructions visible to the user of the system. Implementation of millicode requires a special processor mode called millimode that provides its own set of registers, and possibly its own special instructions invisible to the user.
IBM invented both the concept and the term millicode for the System/390 9672-G4 processor in 1997. The following are cited as advantages of millicode:
The "i370" code for the "Capitol" chipset used in some ES/9370 models was similar to millicode, in that it was written as a combination of System/370 instructions and code that had access to special hardware features.