Fall 2023: Microprocessors Lab

From MKWiki
Jump to navigation Jump to search

Instructions

  • Please be on time to avoid the Attendance Penalty.
  • Please sign on the Attendance Register before your take a seat.
  • Please put your mobile phone in the Silent Mode.
  • Each lab assignment needs to be submitted in the Google Classroom for the evaluation(will be notified in the GC lab-wise, submit before the deadline).
  • Turn off(shut down) your assigned computer and arrange the chair before you leave the lab.

Resources

Lab 0: Getting Started ( week of 28th August 2023 )

Q. NO. Program Practical No. Remarks
1 Go through the pdf file shared with your class on the whatsapp group, Write a summary of your learning from the Lab 0. The anticipated results of your learning could include:

(1) What is a statement? Write the syntax of a statement.
(2) What is the syntax of a variable? What is the significance of data definition directives (type)?
(3) Write and explain the syntax of basic instructions like MOV, XCHG, ADD, SUB, INC, DEC, NEG.
(4) What is the structure of an Assembly Language Program?

Lab 1: ( week of xxth Septermber 2023 )

Q. NO. Program Practical No. Remarks
1 Write a program for 32 bit Binary Addition, subtraction, division, and multiplication. Practical No. 1 32-bit Binary Multiplication Sample Solution.

Lab 2: ( week of xxth September 2023 )

Q. NO. Program Practical No. Remarks
1 Write a program for 32 bit BCD Addition and subtraction. Practical No. 2

Lab 3: ( week of xxth September 2023 )

Q. NO. Program Practical No. Remarks
1 Write a program for Sorting. Practical No. 3 Sorting Array Elements Sample Solution

Lab 4: ( week of xxth September 2023 )

Q. NO. Program Practical No. Remarks
1 Write a program for linear search and binary search. Practical No. 4

Lab 5: ( week of xxth October 2023 )

Q. NO. Program Practical No. Remarks
1 Write a program to add and subtract two arrays. Practical No. 5

Lab 6: ( week of 09th October 2023 )

Q. NO. Program Practical No. Remarks
1 Write a program for binary to ascii conversion. Practical No. 6

Lab 7: ( week of 16th October 2023 )

Q. NO. Program Practical No. Remarks
1 Write a program for ascii to binary conversion. Practical No. 7 ASCII to Binary conversion Sample Solution