ABSTRACT

The program stored in the ROM of a microcontroller tells it what to do. It consists of a series of instructions. An instruction might mean ‘Find out the logic level at input pin 5’. But, although this is what the controller will do when it comes to that instruction in its ROM, the instruction is not there as a sentence made up of words. It is coded, often as a single byte of a binary code.