Professional Documents
Culture Documents
Syllabus: (0-0-3) 2 IV, 2008-09 Mr. B. R. Chandavarkar Computer
Syllabus: (0-0-3) 2 IV, 2008-09 Mr. B. R. Chandavarkar Computer
Course Number & Course Title: CO255, Microprocessor Lab Credits: Semester/Session & Year: Course Instructors Name: Department:
Syllabus Structure: Part I: 8086 Programming A. Programs for simple calculations B. Programs using string instructions C. Programs using Procedure D. Programs using Stack E. Programs using macros F. Programs using BIOS and DOS interrupt Part II: Interface Programming A. Programs on 8255 interfacing B. Programs on 8253/8254 interfacing
5. Write an 8086 ALP to search for the sub string in the given string, replace all
its occurrences with another string of same length as sub string and display the result.
1. Write an 8086 ALP to generate the first n Fibonacci numbers using recursion.
2. Write an 8086 ALP program to find the largest and smaller number from the array of numbers. 3. Write an 8086 ALP to perform the following conversions: a. Decimal to Binary b. Decimal to Hexadecimal 2. Write an 8086 ALP that reads a list of numbers and makes a count of a. Even and Odd numbers. b. Numbers grater than 10. 5. Write an 8086 ALP to n elements in a given array in ascending order using a. Selection Sort b. Bubble Sort c. Insertion Sort.
5. Write an 8086 ALP that reads a list of numbers and makes a count of
2. Write an 8086 ALP to read password and validate the user. For this there should be a file containing valid users and their passwords, the entry made by the user must be compared with this file. 3. Write an 8086 ALP to accept a file name, if present user should be allowed to rename, delete according to his choice.
4. Write an 8086 ALP to read your name from the keyboard and display it at a
specified location on the screen in front of the message What is your name? You must clear the entire screen before display. 5. Write an 8086 ALP to read the current time and date from the system and display it in the standard format on the screen.
6. Write an 8086 ALP to get the screen width (no of cols) using BIOS
interrupt, and calculate the no of rows from the appropriate word location in BIOS data area, and clear the screen using BIOS interrupt.
7. Using BIOS routine, write an 8086 ALP to find memory size of the PC you
are using. Using appropriate message, the display should indicate memory size in Kilo bytes using 4 hex digits. Also check the result with the appropriate word in BIOS data area using debug/codeview.
8. Write an 8086 ALP to display the command line parameters, and the total
length of the parameters using DOS interrupts.
2.
3. 4.
Note:
All students should complete, 23 programs from Part I, selecting any from A, B, C, D, E and 08 programs from F. (Follow the weekly planning) 06 programs from part II selecting any 3 from A and B. (Follow the weekly planning). According to the weekly planning all students should submit the Lab file on or before the mentioned date. Being absent in the Lab session without prior permission will be credited 0 marks for that lab session. Being absent for more than 3 lab sessions in the semester has to take the permission from the DUGC to enter the Lab. If any student remain absent because of guanine reasons (with prior permission) should complete the experiments within the allotted week and should submit the Lab file on or before the mentioned date. Method to write Lab file
Program No. (Including group no.): Title: Important instructions used along with the explanation: Algorithm: Program (should be written on plain paper): comments for each instruction. Output: (printout) Conclusion (What they learnt and their personal experience):