You are on page 1of 15

Sinhgad College of Engineering

Department of Information Technology

Processor Interfacing Laboratory


Teaching Scheme
Practical: 4 hrs/week

Examination scheme
Term Work: 25 Marks

Oral: 50 Marks

Academic Year : 2011-12 Semester - II

Processor Interfacing Laboratory


Overview & Objective List of Assignments

Schedule
Tools Required Lab Manual template

Overview
Introduction of microprocessors & microcontrollers was a turning point in the era of electronic product design. Ability of programs to have decision making capabilities which is not possible with conventional discrete logic was a major breakthrough in designing intelligent products. Today 16 bit, 32 bit processors & microcontrollers dominate industrial scene & consumer applications. 8086 processor, 80386 processor, 8051 microcontroller & other programmable peripherals from Intel are the ideal vehicles to make the students understand microprocessor architecture, programming & integrated systems.

Objectives

Understanding microprocessor architecture , assembly language programming, microprocessor based system design, Microcontroller architecture & Embedded system design.

Understanding all concepts in theory by practically trying out programming and experiments. Developing analytical skills and problem solving abilities of the students.

List of Assignments
This laboratory is organized into 14 assignments, divided into 4 groups.
Group A : ALP based on 8086 microprocessor
Group B : Interfacing with 8086 and 8051

Group C : File processing / DOS commands


Group D : programming 8051 microcontroller & 80386 microprocessor

ALP based on 8086 microprocessor

Group A

Sr. No.

Name of assignment

1 2 3 4

Array addition of n ,8 bit, 16 bit numbers. Conversion of HEX to BCD and vice-versa. String operations - length ,reverse , Palindrome with NEAR procedure. String operations concatenation, comparison, no. of occurrences with FAR procedure.

Interfacing with 8086 and 8051

Group B

Sr. No.

Name of assignment

Conversion of Analog signal (0V- 5 V) into equivalent digital signal using 8086 and ADC 0809. Generation of waveforms using 8086 and DAC 0808.

Rotation of stepper motor with different speed and different step angles using 8051 .

File processing / DOS commands


Sr. No. Name of assignment

Group C

C Program To delete a file, create a directory , read and display disk information (using int86, int86x, intdos, intdosx functions ).

9
10

Inline ALP to read Boot Sector and Display contents of Boot Sector . 8086 ALP to simulate DOS COPY command. (using FILE Handle functions and command line arguments.)

Programming 8051 microcontroller


Sr. No. Name of assignment

Group D

11. A Array addition of 8 bit, 16 bit numbers.

11. B Multiplication of 16 bit number by 8 bit number. 12 Block transfer for internal / external memory. 13 Timer programming. ( ISR based ) 14 80386 ALP to switch from real mode to protected mode and back to real mode.

Schedule
Sr. No. Title Group A : ALP based 8086 Microprocessor 1 Introduction to 8086 kit & TASM Assembly language program (ALP) to add array of N numbers stored in the memory. 4 2 4 2 Week 1 Week 2 Week 2, 3 Week 3 No. of Hrs. Week

2
3 4

ALP to convert 4-digit Hex number into its equivalent BCD number and 5-digit BCD number into its equivalent HEX number.
ALP to perform string manipulation to calculate string length, reverse a string and palindrome operation. Use near procedure. ALP to perform string operations like Concatenation, Compare , Number of occurrences of a sub-string in the given string, Find number of words, characters, number of lines and number of capital letters from the given text in the data segment. Use far procedure. Repeat turn for Group A assignments Group B: Interfacing with 8086/8051

Week

Week

8086 ALP to convert an analog signal in the range of 0V to 5V to its corresponding digital signal using either successive approximation ADC or dual slope ADC. 8086 ALP to interface DAC and generate various waveforms on oscilloscope.
ALP to interface 8051 with stepper motor. Repeat turn for Group B assignments Mid term Mock & Partial Submission

Week

6
7

2 2 2 2

Week 6

Week 7

Schedule Cont
Group C: File Processing / Dos Commands 8 9 8086 ALP to read command line arguments using PSP and implement DOS COPY Command. Write following programs in C using int86, int86x, intdos, intdosx functions: To delete a file, To create a directory and Read and display disk information such as Drive, tracks, sectors etc. ALP to read Boot Sector and Display contents of Boot Sector. (use Inline C Code) Repeat turn for Group C assignments 2 Week 8 2

10

2 Week 9 2

Group D: Assignments based on programming 8051 microcontroller Introduction to Keil vision and demonstration of 8051kit. 11 a 11 b 12 ALP to add n, 8 bits numbers found in internal ram location 40H onwards and store results in R6 and R7. ALP to multiply 16 bit number by 8 bit number and store the result and internal memory location. ALP for block transfer for internal / external memory. ALP to generate square wave using Timer interrupt on any port pin. ( ISR based) ALP to switch from real mode to protected mode and back to real mode. Display an appropriate message in each mode Repeat turn for Group D assignments Final Mock & submission 2 2 2 2 Week 10 Week 11 Week 12 Week 13 Week 14

13
14

2
2 4 4

Tools Required
GROUP No. Of Assg. Requirements (SW/HW)

A B

4 3

C D

3 4

Dyna 8086 kit, TASM Dyna 8086 kit, ADC 0809 card, DAC 0808 card, 8051 kit, stepper motor , CRO TASM, TC 8051 kit, Keil vision ,Flash magic

Lab Manual Template


Aim Objective

Theory Points
Test Cases (Required I/P,Expected O/P) Related Additions

Lab Manual
Software Assignment Format
Title : Aim : Objective : Theory : 1. Assembler Directives . I/P : 2. DOS functions 3. New instructions used with explanation . O/P: Main Program Algorithm : Macros : 1. Name 2. Purpose 3. I/P & O/P

Procedures: 1. Name 2. Purpose 3. I/P & O/P 4.Algorithm for Procedures Calculations if any: Conclusions: Platform Used: OS , S/W Tools FAQs : References : Programs with comments printouts along with I/P, O/P :

Lab Manual
Hardware Assignment Format
Aim : Objective : Theory : 1. Interfacing Diagram 2. Control Word Registers . I/P : 3. Related Theory O/P: . Algorithm :

Program with comments: Observations & Waveforms : Calculations : Conclusions: FAQs : References :

You might also like