9:47 AM
Write a program to multiply two 8 bit numbers by rotation method using 8085 Microprocessor kit in assembly language
Aim: Perform the following using 8085 Microprocessor kit in assembly language.
i. Write a program to add two 16-bit numbers.
ii. Write a program to subtract two 16-bit numbers.
iii. Write a program to multiply two 8 bit numbers by rotation method.
 
Requirements: 8085 Microprocessor kit
 
Learning Objectives: Use of 8085 Kit to perform basic assembly programs.
 
Outline of the Procedure:
1. Turn of the kit
2. Enter the code in assembly language.
3. Execute the code and verify the results.
 
Program:
Address      Machine Code   Label   Mnemonics Operands Comments
2000             21                 LXI H, 2501h
2001             01
2002             25
2003             5E                 MOV E, M
2004             16                 MVI D, 00h
2005             00
2006             23                 INX H
2007             7E                 MOV A, M
2008             21                 LXI H, 0000h
2009             00
200A             00
200B             06                 MVI B, 08h
200C             08
200D             29         YY      DAD H
200E             13                 RAL
200F             D2                 JNC KK
2010             13
2011             20
2012             19                 DAD D
2013             05         KK      DCR B
2014             C2                 JNZ YY
2015             0D
2016             20
2017             22                 SHLD 2503h
2018             03
2019             25
201A             EF                 RST5
Views: 108 | Added by: vijoriya | Tags: Kit, Assembly language, 8085 Microprocessor, Multiply, rotation method, Write a program, two 8 bit numbers | Rating: 0.0/0
Total comments: 0
avatar