You are on page 1of 4

MICROPROCESSOR & PERIPHERAL INTERFACING

Practical 1
Introduction To 8085 Kit and Peripheral Boards
Date:

AIM: Introduction to 8085 Kit and Peripheral Boards.


APPARATUS: M85-04 Trainer Kit, Power cable, Keyboard

ABOUT THE M85-04 8085 MICROPROCESSER TRAINER KIT:


M85-04 Trainer Kit based on 8085 Microprocessor, which is widely used to train engineers to
develop software/hardware for any industrial process & control. This Kit consists of power-full
Monitor EPROM, RAM, I/O Lines, Timer/Counter, Serial, and 20x2 LCD Display and Keyboard
for Man to Machine Interface.

FIGURE 1 M85-04 8085 MICROPROCESSER TRAINER KIT

FEATURES:

 16K Bytes of EPROM with 8K bytes of Battery Backup RAM.


 48 I/O Lines, Three Channel Timer/Counter, PC Serial Interface.
 20x2 LCD Display with 101 ASCII Keyboard.
 Power-full Command like Single Stepping, Break Point, Full Clock Execution, Examine
Memory/ Register.
 Uploading & Downloading to and from PC in Windows98/XP/NT.
 In-Built Power Supply.
MICROPROCESSOR & PERIPHERAL INTERFACING

SPECIFICATIONS:

 Based on 8085 CPU operating at 6.144 MHz.


 16K bytes of Powerful Monitor Program using 27512 EPROM
 8K bytes of RAM using 6264 with Battery Backup using NICD Battery.
 On-board one memory expansion up to 56KB.
 Three Channel Timer/Counter using 8253 brought out at 10 Pins FRC Connector.
 48 I/O lines provided through two nos. of 8255 brought out at 26 Pins FRC Connector to
interface with IC-XX Series.
 RS-232C interface through SID/SOD lines
 Two mode of commands:
- ASCII Key pad Mode
- Serial Mode
 20x2/20x4/40x2 Alphanumeric LCD Display with Backlite.
 101 ASCII Keyboard interface using 89C2051 operating @ 12MHz.
 Powerful Commands like Examine/Edit Memory, Examine/Edit Register, Single
stepping, Execution, Block Move, Insert Data, Delete Data can be used through ASCII
keyboard or PC serial mode.
 On board Single Line Assembler / Disassembler
 Facility for Downloading/Uploading files from/to PC.
 All address, data & control lines are available on KXT Bus 50 pin FRC Connector to
interface with SC-XX Series.
 All ICS are mounted on IC Sockets.
 Bare board Tested Glass Epoxy SMOBC PCB is used.
 In-Built Power Supply of +5V/1.5A, ±12V/250mA
 Attractive ABS Plastic enclosures.
 User's Manual with sample programs.
 270mm x 185mm x 105mm (L x W x H).
 Weight 3 Kgs.

OPTIONAL:
 On-board EPROM Programmer for 2716, 2732, 2764, 27128, 27256, 27512.
 PRINTER INTERFACE to interface with DOT MATRIX Printer.

DEMO PROGRAM:
Addition of two 8-bit hexadecimal numbers which are stored at memory location 2009H
and 200A H. Store the result at memory location 200B H.

Code:
Memory Location Program
2000 LXI H,2009
2003 MOV A,M
2004 INX H
2005 ADD M
2006 INX H
2007 MOV A,M
2008 HLT
MICROPROCESSOR & PERIPHERAL INTERFACING

Steps for loading the Program into the kit:


Follow below steps to load the program. After the each step press enter on the keyboard.

1. Press ‘1’ on keyboard. After pressing ‘1’ following options will be displayed :
A=ASSEMBLE MODE (To load the program, use this mode)
D=DISASSEMBLE MODE (To check the loaded program with opcodes, use this mode)

2. Press ‘A’ as we want to load the program.

3. RAM ADD: 2000 (i.e. enter starting memory location of the program)

4. 2000: LXI H 0-2009 ( enter last memory location of the program )

5. 2003: MOV A,M

6. 2004: INX H

7. 2005: ADD M

8. 2006: INX H

9. 2007: MOV M,A

10. 2008: HLT

11. 2009

12. Press ‘ESC’

Follow below steps to store data at specific memory location:

13. Press ‘M’


14. M2009 ( i.e. here enter the memory location where we want to store the data )
15. 2009: previous data- 01H (i.e. enter new data)
16. 200A: previous data- 02H (i.e. enter new data)
17. Press ‘ESC’

Follow below steps to execute the program:

18. Press ‘G’


19. G0042:13 (Something like this will come on the LCD screen )
2000. (Enter starting memory location of the program and then press dot)

Program has been executed successfully. Now to check result two commands can be used.

20. Press ‘M’ if result is in the memory. Follow the above mention steps to access memory.
21. Press ‘R’ if result is in Register. Press Register (e.g. A, B, C, D, E, H, L).
MICROPROCESSOR & PERIPHERAL INTERFACING

Follow below steps to check loaded program with opcodes.


.
1. Press ‘1’
A=ASSEMBLE MODE (To load the program use this mode)
D=DISASSEMBLE MODE (To check the loaded program with opcodes, use this mode)

2. Press ‘C’

3. PROG ADR 2000 2009 ( starting memory location space last memory location )
.
4. LIST ADR 2000 ( starting memory location )

5. 2000 21 09 20
LXI * H * 2009 * (Press ENTER)

6. 2003 7E
MOV A, M (Press ENTER)

7. 2004 23
INX * H (Press ENTER)

8. 2005 86
ADD M (Press ENTER)

9. 2006 23
INX * H (Press ENTER)

10. 2007 77
MOV M,A ( Press ENTER )

11. 2008 EF
HLT (Press ENTER)

Input data:

Memory Location Data


2009H 01H
200AH 02H

Output Data:

Memory Location Data


200BH 03H

Results:

You might also like