Micro processor Lab Manual / Addition of two 8-bit Numbers

Program Name

Write a Assembly Language Program for Addition of two 8-bit Numbers .
Theory
Instruction Mnemonic Operand Comments
MVI A,05H Move immediately input 05H of addition into accumulator
MVI B,04H Move immediately 2nd input 04H of addition into register B
ADD B Add the content of register B with Accumulator and store it in accumulator
STA 8200 Store result of addition at 8200
HLT Stop
Program Code


Online compiler 8085 Microprocess Compiler


Home     Back