0% found this document useful (0 votes)
5 views1 page

8085 Assembly Program for 8-Bit Addition

The document describes an assembly language program that adds two 8-bit numbers using an 8085 microprocessor kit. The program loads hexadecimal values 05H and 04H into the accumulator and register B, adds their values, and stores the result in memory location 2050H. The program is then halted. When run, the value 09H is displayed at memory location 2050H, showing the addition was successful.

Uploaded by

Jyotish Paul
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

8085 Assembly Program for 8-Bit Addition

The document describes an assembly language program that adds two 8-bit numbers using an 8085 microprocessor kit. The program loads hexadecimal values 05H and 04H into the accumulator and register B, adds their values, and stores the result in memory location 2050H. The program is then halted. When run, the value 09H is displayed at memory location 2050H, showing the addition was successful.

Uploaded by

Jyotish Paul
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Er.

Boudhayan Bhattacharya

Sample Assignment for Intel 8085 Programming


Aim: To write an assembly language program for addition of two 8 bit numbers statically using
microprocessor kit.

Apparatus required: 8085 Microprocessor Trainer Kit

Algorithm:
Step 1: Start the Microprocessor
Step 2: Move the hexadecimal value to Accumulator
Step 3: Move the hexadecimal value to Register B
Step 4: Add the content of Register B with Accumulator and store the result in Accumulator
Step 5: Store the content of Accumulator in a Memory location
Step 6: Stop the program execution

Program Code:

Address Label Mnemonics Hex Code Comments


2000 MVI A, 05H 3E Move the hexadecimal value 05 to Accumulator
2001 05
2002 MVI B, 04H 06 Move the hexadecimal value 04 to Register B
2003 04
2004 ADD B 80 Add the content of Register B with Accumulator and
store the result in Accumulator
2005 STA 2050H 32 Store the content of Accumulator in 2050H memory
location
2006 50
2007 20
2008 HLT 76 Terminate the program

Result:

Output Address Value


2050 09

Discussion:
The assembly language program for 8 bit addition of two numbers in static mode was executed
successfully by using 8085 micro processing kit.

You might also like