EC1363 Microprocessor & Micro controller Lab Syllabus

EC 1363 MICROPROCESSOR AND MICRO CONTROLLER LABORATORY 0 0 3 100

AIM
To understand programming using instruction sets of processors.
8-bit Microprocessor
1. Simple arithmetic operations:
• Multi precision addition / subtraction / multiplication / division.

2. Programming with control instructions:
• Increment / Decrement.
• Ascending / Descending order.
• Maximum / Minimum of numbers.
• Rotate instructions.
• Hex / ASCII / BCD code
conversions.

3. Interface Experiments:
• A/D Interfacing.
• D/A Interfacing.
• Traffic light controller.

4. Interface Experiments:
• Simple experiments using 8251, 8279, 8254.

5. Programming practice on assembler and simulator tools.

8-bit Micro controller
6. Demonstration of basic instructions with 8051 Micro controller execution, including:
• Conditional jumps, looping
• Calling subroutines.
• Stack parameter testing

7. Parallel port programming with 8051 using port 1 facility:
• Stepper motor and D / A converter.

8. Programming Exercise on
• RAM direct addressing
• Bit addressing

9. Programming practice using simulation tools and C - compiler
• Initialize timer
• Enable interrupts.

10. Study of micro controllers with flash memory.

P = 45 Total = 45
REFERENCE BOOKS
1. R.S. Gaonkar, ‘Microprocessor Architecture Programming and Applications’, Wiley Eastern Ltd., New Delhi, 1995.

2. Myke Predko, ‘Programming and Customizing the 8051 Microcontroller’, Tata McGraw Hill, 1999.

Detailed Syllabus

8-bit Microprocessor
1. Simple arithmetic operations
a. Multi precision addition / subtraction / multiplication / division.

Aim

To perform simple arithmetic operations using assembly language program.


Exercise

1. Write an assembly language program using 8085 instructions set to perform the following arithmetic operations

1. Addition of two 8 bit numbers
2. Subtraction of two 8 bit numbers
3. Multiplication of two 8 bit numbers
4. Division of two 8 bit numbers

2. Programming with control instructions

a. Increment / Decrement.
b. Ascending / Descending order.
c. Maximum / Minimum of numbers.
d. Rotate instructions.
e. Hex / ASCII / BCD code conversions.

Aim
To write an assembly language program using the control instructions

Exercise
1. Using the control instructions of 8085 microprocessor write assembly language programs to perform the following

1. Arrange the given array of data in ascending and descending order

2. Find the maximum and minimum number in a group of data given.

3. Conversion of the following

1. ASCII to HEX code
2. Conversion of HEX to ASCII code
3. Conversion of BCD to HEX
4. Conversion of HEX to BCD

3. Interface Experiments

a. A/D Interfacing.
b. D/A Interfacing.
c. Traffic light controller.

Aim
To write an assembly language program to convert Analog input to Digital output and Digital input to Analog output.

Exercise
1. Write an assembly language program (using 8085) to convert Analog input to Digital output
2. Write an assembly language programs to convert digital input into analog signal of following type.

1. Square wave
2. Triangular wave
3. Sawtooth wave


4. Interface Experiments:
a. Simple experiments using 8251, 8279, 8254.

5. Programming practice on assembler and simulator tools.

8-bit Micro controller
6. Demonstration of basic instructions with 8051 Micro controller execution, including:
a. Conditional jumps, looping
b. Calling subroutines.
c. Stack parameter testing

Aim

To demonstrate use of control logic instructors.

Exercise

1. To write programs which can include instruction sets for jump, loop, cell, return, stack.

2. To observe the change in status registers and various relevant registers.


7. Parallel port programming with 8051 using port 1 facility:

a. Stepper motor and D / A converter.

Aim
To demonstrate the access of parallel port.
Exercise

1. To develop command words on choice of port, addressing of port pins.

2. To vary timing cycle of speed of motor, direction of motor.

3. To demonstrate generation of sine wave saw tooth, triangular wave of various frequency, amplitude.

8. Programming Exercise on
• RAM direct addressing
• Bit addressing
Aim

To write the program to check the content of memory locations using READ /
WRITE instructions using different addressing modes.

Exercise

To READ / WRITE the content of RAM registers, bits and the RAM from
location 1 to N and check the display with say LEDs.


9. Programming practice using simulation tools and C – compiler

a. Initialize timer
b. Enable interrupts.

Aim
To use the facility of popular Micro controller programming tools like KEIL or
RIDE software.

Exercise

1. To study the initializing of timer interrupt with context saving like increasing or decreasing the counter count.

2. To demonstrate use of instruction like cjne, djnz, jb etc.


10. Study of micro controllers with flash memory

Aim
To familiarize of loading and executing on flash memory.

Exercise

1. To write the program to generate sine wave, square wave etc.
2. To vary the frequency, amplitude of the signal.
Previous
Next Post »

If you still didn't find what you're looking for, you can search this website below: