COVER PAGE( On the hard bound report Cream color sheet)



M.S.Ramaiah Institute of Technology, Bangalore-560054

(Autonomous Institute Affiliated to VTU)

Department of Computer Science & Engineering

Term: January to May 2016

[pic]

LABORATORY RECORD

Microprocessor and CO Lab

IV Semester

CSL1543 (0:0:2)

Name of the Student:

USN:

Section:

Signature of Microprocessor Lab Signature of CO Lab

Co-ordinator Co-ordinator

Contents

|S.No |Details |Page No |

|1 |WEEK 1 - Introduction | |

| |Assembly language program to perform addition, subtraction, multiplication & division operations on two | |

| |16-bit numbers | |

| |Read number from memory, display the number and its square | |

| |Write and execute an assembly language program to swap two numbers. | |

|2 |WEEK 2 – Arrays & Sorting | |

| |Write and execute an assembly language program to find the average of “n” numbers stored in an array. | |

| |Write and execute an assembly language program to arrange “n” 16 bit numbers in ascending order using bubble| |

| |sort | |

| |Write and execute an assembly language program to arrange “n” 16 bit numbers in descending order using | |

| |insertion sort | |

| |Write and execute an assembly language program to perform the following operations on an array of byte data | |

| |stored in the memory location list (take 10 bytes) | |

| |Move the entire array to a new location list1. | |

| |Find the average of the numbers of list and store the result in memory location res. | |

|3 |WEEK 3 - Searching | |

| |Write and execute an assembly language program to search an element in a given sorted arrray using binary | |

| |search algorithm. | |

| |Write and execute an assembly language program to find the key element in an array of numbers using linear | |

| |search algorithm. | |

| |Write and execute an assembly language program to display first “n” Fibonacci numbers. | |

|4 |WEEK 4 – Number crunching | |

| |Write and execute an assembly language program to find the factorial of a given number using recursion. | |

| |Write and execute an assembly language program to simulate the counter to display up counter 00-99 | |

| |Write and execute an assembly language program to find GCD & LCM of two given numbers | |

| |Write and execute an assembly language program to display the system time | |

|5 |WEEK 5 – Strings and macros | |

| |Write and execute an assembly language program to check whether the given string is palindrome or not. | |

| |Write macro for a display function. Use this macro in a program to display three strings stored in the | |

| |memory location str1, str2 and str3. Display the length of str1 and str2. Write a relevant assembly language| |

| |program and execute. | |

| |Write and execute an assembly language program to copy text from one string to another string | |

| |Write a program to read the name from keyboard and display it in a specified location on the screen in front| |

| |of the message “what is your name?” Clear the entire screen before display. | |

|6 |WEEK 7 – Logic Controller Interfacing(LCI) | |

| |Write and execute an assembly language program to read the status of eight input bits from the Logic | |

| |Controller Interface (LCI) and display “FF” if it is even parity bits otherwise display “00”. | |

| |Write and execute an assembly language program to perform BCD UP Counter function using LCI. | |

| |Write and execute an assembly language program to perform Ring Counter function using LCI | |

| |Write and execute an assembly language program to read the status of eight input bits from the logic | |

| |controller interface and display the number 1’s in the input. | |

| |Write and execute an assembly language program to read the status of eight input bits from the logic | |

| |controller interface and display the number 0’s in the input | |

| |Write and execute an assembly language program to read the status of eight input bits from the logic | |

| |controller interface and display “AA” if it is even parity bits otherwise display “BB”. | |

|7 |WEEK 8 – Stepper motor Interfacing | |

| |Write and execute an assembly language program to rotate the stepper motor in clockwise direction. | |

| |Write and execute an assembly language program to drive a stepper motor interface to rotate the motor by ‘n’| |

| |steps left direction and ‘n’ steps right direction. | |

| |Write and execute an assembly language program to rotate the stepper motor in anticlockwise direction. | |

|8 |WEEK 9 – DAC Interfacing | |

| |Write and execute an assembly language program to generate the Ramp Wave using the DAC interface. | |

| |Write and execute an assembly language program to generate the square waveform using a DAC interface. | |

| |Write and execute an assembly language program to generate the triangular waveform using a DAC interface | |

|9 |WEEK 10 – 7 segment LED display Interfacing | |

| |Write and execute an assembly language program using 7 segment LED display for displaying some messages | |

| |Write and execute an assembly language program using 7-Segment Display Interface – Display in Rolling | |

| |fashion | |

|10 |WEEK 11 – Keyboard Interfacing | |

| |Write and execute an assembly language program to display the row number and the column number of the key | |

| |pressed using the keyboard interface. | |

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download