2dix-The Student Choice
Log in Register now

Write a program to add two 16-bit numbers 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
2007                 2A              LHLD 2000h
2008                 00
2009                 20
200A                 EB              XCHG
200B                 2A              LHLD 2002h
200C                 02
200D                 20
200E                 0E              MVI C,00h
200F                 00
2010                 19              DAD D
2011                 D2              JNC KK
2012                 15
2013                 20
2014                 0C              INR C
2015                 22       KK     SHLD 2004h
2016                 04
2017                 20
2018                 79              MOV A,C
2019                 32              STA 2006h
201A                 06
201B                 20
201C                 EF              RST5

comments (0)

avatar