Multiplication of Two 8 bit numbers in 8085

AIM

To prepare an assembly language program for 8085 to multiply two 8 bit numbers

PROGRAM

MVI C,00

LDA 4200

MOV B,A

LDA 4201

MOV A,D

MVI A,00

LABEL:ADD B

DCR D

JNZ LABEL

JNC LOOP

INR C

LOOP:STA 4202

MOV A,C

STA 4203

HLT

SAMPLE OUTPUT

ADDRESS

DATA

INPUT/OUTPUT

4200

04

Input

4201

02

Input

4202

08

Output

4203

00

Output

RESULT

A program to multiply two 8 bit numbers was prepared and output obtained

Custom Search

Leave a Reply

7 Responses to “Multiplication of Two 8 bit numbers in 8085”