EE 315: Microprocessor Laboratory
First Day in the Lab
On the first day of the lab, find out the following information about
the kits that you will be using during the semester and note these in
your lab
notebook.
1. The memory map of system. In addition to helping you decide the
location of your program, this will also be used to initialize the
stack.
2. The hardware components like PPI, Timer, Display
Controller, USART etc, that are available on the system.
3. Crystal and system clock frequency.
4. Addresses for the ports of the various devices that are available on
the system.
5. Familiarize yourself with the keypad and the functions of the
various keys and their usage.
The monitor in the kit allows you to do the following using specific
function keys.
1. Examine / modify a specified memory location.
2. Examine and change the contents of various registers of the 8085.
3. Run / execute a program.
4. Single Step through the program. Program is executed one
instruction at a time (not one byte at a time!).
5. Set break points in the program.
6. Move blocks of memory from one position in the address range to
another.
Check to see if the kit provides any other function and note
them in your lab notebook.
In addition to the above, the
kit also has a few subroutines that can be used to perform some
functions. The addresses for few often used subroutines are given
in Anshuman Kit Details .Write
small programs to use the following subroutines.
1.Display a character in "address" and "data" fields of the
seven-segment display.
2.Read character(s) from the keypad
3.Introduce
a specified delay in the programs.
Programs for problems in S/W-1 to S/W-3 will have to be written and
tested on simulator (available on lab web
site) in advance before coming to lab.
Note: Display programs can not be tested on the
simulator.