Division 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

LABEL:SUBB B

INR C

JNC LABEL

DCR C

ADD B

STA 4202

MOV A,C

STA 4203

HLT

SAMPLE OUTPUT

ADDRESS

DATA

INPUT/OUTPUT

4200

02

Input

4201

05

Input

4202

01

Output

4203

02

Output

RESULT

A program to divide two 8 bit numbers  for 8085 was prepared and output obtained

Show Comments

8 thoughts on “Division of Two 8 bit numbers in 8085

  1. fish

    using addresses ‘4201,4032’ does not work and how do you find a square or cube of a number using 8085. thanks in advance

    Reply

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=""> <s> <strike> <strong>