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.