Addition of Two 8 bit numbers in 8085

AIM

To add two 8 bit numbers using 8085 microprocessor

PROGRAM

MV1 C,00

LDA 4200

MOV B,A

LDA 4201

ADD B

JNC LABEL1

INRC

LABEL1:STA 4202

MOV A,C

STA 4203

HLT

SAMPLE OUTPUT

ADDRESS

DATA

INPUT/OUTPUT

4200

15

Input

4201

27

Input

4202

3C

Output(sum)

4203

00

Output(carry)

RESULT

A program to add two 8 bit numbers for 8085 microprocessor was prepared and output obtained.

Custom Search

Leave a Reply

3 Responses to “Addition of Two 8 bit numbers in 8085”