Experiment Number 1 8086 Programming by Ravinder Nath Rajotiya - April 19, 2019May 25, 20220 AIM :Write a program to add and subtract two 16-bit numbers with/ without carry using 8086 Objective: To understand working of 8086 Based System. To draw flowchart of the 16-bit Addition To develop and execute program, To verify the result of two 16-bit long number. System Requirement : 8086 Trainer Kit with Key Board Setting up the Trainer Kit: Ensure that standard IBM PC/AT system keyboard is connected System is Powered ON Student has a handy opcode table for programming Use data Address as : For Program Code segment address : 1000 Offset address : 0200 For Data segment address 0000 offset address : 1300 Flowchart to Add two 16-bit numbers: Algorithm: Start Initialize the BX, and SI Registers Read the contents of the memory
Experiment-3 Program to generate Fibonacci series 8086 8086 Programming by Ravinder Nath Rajotiya - April 19, 2019April 15, 20210 AIM : Write a Program to generate Fibonacci series Objectives: After completing this experiment, students will be able to : understand the use of 8086 mnemonics and their opcode Draw Flowchart for the program Develop program to generate the Fibonacci series analyse the program System Requirement : 8086 Trainer Kit with Key Board Setting up the Trainer Kit: Ensure that standard IBM PC/AT system keyboard is connected System is Powered ON Student has a handy opcode table for programming Logic / Algorithm Start Initialize the CL register to store the to numbers accumulator (Ax) to ‘0000, register BL to first no. and DI to starting destination address Save first number from BL to [DI} and Increment the DI. Add AL and number in
Experiment 7 8086 Programming by Ravinder Nath Rajotiya - April 17, 2019May 25, 20220 AIM: Write a Program to generate a square wave of 10 kHz using Timer 1 in mode 1(using 8051) Objective: The objective of this experiment is to: Understand the difference between Timer and Counter operation To Understand and analyze the use of different SFRs registers e.g. TMOD, TCON, IE To calculate the value of count to be set in TH and TL SFR To develop the algorithm for generating the square wave pulse To develop the program to generate the square wave pulse. System Requirement: 8051 microcontroller Kit, CRO/DSO Setting up the System: Ensure that standard IBM PC/AT system keyboard is connected System is Powered ON Student has a handy opcode table for programming CRO Connected to Port pin 2.3 Theory The 8051 has two timers: Timer