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.

Show Comments

3 thoughts on “Addition of Two 8 bit numbers in 8085

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>