Microprocessor 8085 Code to add 2 data from the memory

Write a microprocessor 8085 program to add the content of memory location 2065H and 2066H and store the result in the next memory location.
Mnemonics
LXI H,2065
MOV A,M
INX H
ADD M
INX H
MOV M,A
HLT
Machine code for the above mnemonics
21
65
20
7E
23
86
23
77
76
Note: If you want to run the above code in 8085 microprocessor kit, only enter the machine code since it understands only machine code(Hex code) starting from memory address 2000H or what ever you want.

Share this article:
Previous Post: Fourier Series

October 3, 2014 - In Mathematics

Next Post: Add two numbers from registers – Microprocessor 8085 Code

October 4, 2014 - In Academics, Computers

Related Posts

Leave a Reply

Your email address will not be published.