Skip to content

man-yadul/S5-CSL331-SYSTEM-SOFTWARE-AND-MICROPROCESSORS-LAB

Repository files navigation

Rajagiri School of Engineering & Technology, Kakkanad

Department of Computer Science & Engineering

Fifth Semester CS331: System Software and Microprocessor Lab

Lab cycle-S5 CSE 2021

Day 1

  1. Familiarization of Trainer kit.
  2. Write a programme to perform basic arithmetic operations and bit manipulation operations using 8086 Trainer kit. (a) 16 bit addition (b) 16 bit subtraction (c) 32 bit addition (d) 32 bit subtraction (e) 16 bit multiplication (f) AND (g) OR (h) XOR (i) NOT

Day 2

  1. Write a programme to perform sorting operation using 8086 Trainer kit. (a) Perform sorting operation on a set of numbers stored in memory and display the results in ascending order. (b) To perform addition of an two one dimensional array of numbers and display the resultant array in descending order.

Day 3

  1. Familiarization of MASM.
  2. Write a programme to perform basic arithmetic operations and bit manipulation operations using 8086 MASM. (j) 16 bit addition (k) 16 bit subtraction (l) 32 bit addition (m) 32 bit subtraction (n) 16 bit multiplication (o) AND (p) OR (q) XOR (r) NOT

Day 4

  1. Write a programme to perform string operation using 8086 MASM. (a) To display a string stored in memory (b) To concatenate two strings (c) To search whether a character is present in a string

Day 5

  1. Write a programme to perform interfacing of stepper motor using 8086 trainer kit.
  2. Write a programme to perform interfacing of LED display using 8086 trainer kit.

Day 6

  1. Write programs to perform the basic arithmetic and logic operations on 8051 kit (a) Addition using immediate addressing mode (b) Subtraction using register addressing mode (c) Multiplication using direct addressing mode (d) Division using register indirect addressing mode (e) NOT using immediate addressing mode (f) OR using register addressing mode (g) AND using direct addressing mode (h) XOR using register indirect addressing mode

Day 7

  1. Write programmes to perform interfacing operation using 8086 MASM (a) Interfacing stepper motor (b) Blinking of LED

Day 8

  1. Simulate the following non pre-emptive CPU scheduling algorithms to find turnaround time and waiting time a) FCFS b) SJF c) Round Robin (Pre-emptive) d)Priority. Also display the average turnaround time and waiting time.

Day 9

  1. Simulate the following file organization techniques a) Single level directory b) Two level directories c) Hierarchical

Day 10

  1. Simulate the following file allocation strategies. a) Sequential b) Indexed c) Linked

Day 11

  1. Implement the different paging techniques of memory management.

Day 12

  1. Write a C program to implement pass one of two pass assembler.
  2. Write a C program to implement Absolute Loader.

Day 13

  1. Write a C program to implement pass two of two pass assembler.
  2. Write a C program to implement Relocating Loader.

Day 14

  1. Write a C program to implement a single pass macro pre-processor.

Day 15

  1. 8051 Keil Timer Programming a) Generate a square wave using software techniques. b) Generate a square wave with 20ms delay using timer 1 in mode 1