3. Little Man Computer (LMC)
As you now know, a modern CPU may have hundreds of assembly language instructions and every CPU manufucturer has its own instruction set.
Therefore a simplified instruction set has been developed specifically for educational purposes. This is called the Little Man Computer(LMC).
The LMC instructions are the ones that will be used in your exam questions - make sure that you learn them.
The Little Man Computer instruction set consists of only 11 assembly instructions. These are
|BRZ||Branch if zero|
|BRP||Branch if positive|
|HLT||End Program (Halt)|
Some of these will be used to describe how the registers are affected.
The LMC will be discussed in more detail in the 'Types of programming languages' part of the syllabus.
Challenge see if you can find out one extra fact on this topic that we haven't already told you Click on this link: The Little Man Computer assembly language