Write a program using micrprocessor?

Answer Posted / yogesh

program to divide two number using 8085 microprocessor

LDA 9000H
MOV B,A
LDA 9001H
MOV E,A
MVI C,00H
MOV A,B
LOOP : INR C
SUB E
JNZ LOOP
ADD E
DCR C
STA 9002H
MOV E,A
STA 9003H


Input the 2 numbers in 9000 & 9001.

Remainder stored in 9002, Quotient stored in 9003

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is used as storage location in the alu and the control section of a computer?

596


Define fall time?

642


Explain the construction and application of a jfet.

601


how to fall in love?

2001


What is diff b/w FIFA,FIPA,FIEA....?

2960






Draw the frequency response of DARLINGTON PAIR

2397


What is a flip-flop?

609


What is the main factor for controlling the thermal generation and recombination?

735


what are the fiber losses,How to rectify it?

1614


What do you mean by a precision diode?

702


What is conductance? How is it measured?

684


Explain what is associate law?

622


The amount of thickness of the metal sheet that can be welded by ultrasonic welding is

1859


What is meant by step-down cyclo-converters?

598


Why opamp called operational amplifier?

603