Add two numbers from registers – Microprocessor 8085 Code

Add two numbers from registers – Microprocessor 8085 Code
Load the number 55H and A9 in Reg. B and Reg. C respectively.
Add the content of Reg. B and C and store the result in memory location 201FH.
Mnemonics Code
MVI B,55H
MVI C,A9H
MOV A,C
ADD B
STA 201FH
HLT
Machine code for the above mnemonics
06
55
0E
A9
79
80
32
1F
20
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: Microprocessor 8085 Code to add 2 data from the memory

October 4, 2014 - In Academics, Computers

Next Post: Type of Sampling in Communication Systems

October 16, 2014 - In Academics, Electronics

Related Posts

Leave a Reply

Your email address will not be published.