Ece Lab Manual Ece 315

2809 WordsApr 2, 201312 Pages
LABORATORY MANUAL ECE 315 MICROPROCESSOR BASED SYSTEM DESIGN LABORATORY 1 TABLE OF CONTENTS S. No. Title of the Experiment Perform the following using 8085 Simulator and 8085 Microprocessor kit in assembly language: (i).Write a program to add two 8-bit numbers. (Or) Write a program to add two 16- bit numbers. (ii) Write a program to subtract two 8-bit numbers. (Or) Write a program to subtract two 16-bit numbers. Perform the following using 8085 Simulator and 8085 Microprocessor kit in assembly language: (i) Write a program to multiply two 8 bit numbers by repetitive addition method (Or) Write a program to multiply two 8 bit numbers by rotation method. (ii)Write a program to divide 16-bit number by 8-bit number. Perform the following…show more content…
Division of two numbers: …….. 5. Cautions: a. Before enter the program press RST key on 8085 kit. b. Proper care must be taken while handling the microprocessor kit. 6. Learning outcomes: Mathematical operations using 8085. 10 Experiment 3 1. Aim: Perform the following using 8085 Simulator and 8085 Microprocessor kit in assembly language: i. Finding 1’s and 2’s complement of an 8-bit number. ii. Finding 1’s and 2’s complement of an 16-bit number. Requirements: 8085 Microprocessor kit. 2. Learning Objective: Complement of a number using 8085 kit. 3. Assembly language: Program (i.a): Program (i.b): 11 Explanation: This program finds the 2’s complement of an 8-bit number stored in memory location 3000H. Let us assume that the operand stored at memory location 3000H is 85H. The operand is moved to accumulator from memory location 3000H. Then, its complement is found by using CMA instruction. One is added to accumulator by incrementing it to find its 2’s complement. The result is stored at memory location 3001H. Program (ii.a): Explanation: This program finds the 1’s complement of 16-bit number stored in memory 3000H3001H. There is no direct way to find 1’s complement of 16-bit number. Therefore, this can be accomplished by finding the 1’s complement of two 8-bit numbers. Let us assume that the operand stored at memory locations 3000H-3001H is 45H-6AH. The operand is loaded into H-L pair from memory locations 3000H-3001H. The lower-order

    More about Ece Lab Manual Ece 315

      Open Document