Prerequisites – Pin diagram of 8085 microprocessor, Bus organization of 8085 microprocessor
Single board microcomputers are the system which have a program called Key Monitor or Key Executive permanently stored in memory. This program is stored either in EPROM or in ROM, beginning at the memory location 0000H.
Hardware is the skeleton of the computer and software is its life. The software (programs) makes the computer live; without it the hardware is a dead piece of semiconductor material.
When the power is turned on, the monitor program comes alive. Initially, the program counter has a random address. When the system is reset, the program counter in the 8085 is cleared and it holds the address 0000H. The trainer system includes a “power on” reset circuit, which reset the system and clears the program counter when system is turned on. The MPU places the address 0000H on the address bus. The instruction code stored in location 0000H is fetched and executed, and the execution continues according to the instructions in the monitor program.
The primary functions of monitor program are as follows:
- Reading the Hex keyboard and checking for a key closure. Continuing to check the keyboard until a key is pressed.
- Displaying the Hex equivalent of the key pressed at the output port, such as the seven segment LEDs.
- Identifying the key pressed and storing its binary equivalent in memory, if necessary.
- Transferring the program execution sequence to the user program when the Execute key is pressed.
The programmer enters a program in R/W memory in sequential memory locations by using the data keys (0 to F) and the function key called Enter. When the system is reset, the program counter is cleared, and the monitor program begins to check a key closure again. By using the keyboard, the programmer enters the first memory address where the user program is stored in R/W memory and directs the MPU to execute the program by pressing the Run key. The MPU fetches, decodes and executes one instruction code at a time and continues to do so until it fetches the Halt instruction.
The Key monitor program is a critical element in entering, storing and executing a program. Until the Execute key is pushed, the monitor program in the EPROM (or ROM) directs all the operations of the MPU. After the Execute key is pushed, the user program directs the MPU to perform the functions written in the program.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
Recommended Posts:
- Introduction of Microcomputer System
- Introduction of Single Accumulator based CPU organization
- Program for conversion of 32 Bits Single Precision IEEE 754 Floating Point Representation
- Differences between Single Datapath and Pilpeline Datapath
- Difference between Single Precision and Double Precision
- Differences between Single Cycle and Multiple Cycle Datapath
- Difference between Single Bus Structure and Double Bus Structure
- Difference between Dual Core processors and Core 2 DUO processors
- Conditional Branch Instructions in AVR Microcontroller
- Logical Instructions in AVR Microcontroller
- Data Transfer instructions in AVR microcontroller
- Arithmetic instructions in AVR microcontroller
- Difference between Macro and Procedure
- Difference between 8051 and AVR
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

