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

Define what is a rectifier?

806


please tell me wat types of technical questions will be asked in Alcatel lucent. and suggest me which site to view

1835


Give an expression for average voltage of single phase semiconverters?

903


Wats da diff b/w ithernet communication and profibus communication?

1834


How can level transmitter in closed tank application be used

1860






plz post the ne questions for electronics engg interview

1781


which modulation is better in terms of power and bandwidth angle or amplitude modulation ???

1954


What is the difference between synchronous and asynchronous counters?

806


What is angle and amplitude modulation?

763


if i get a job in bsc .what are the main key duties to handle

1769


Which is the pin no of CN1 TERMINAL and the parameter using in delta servo drive for auto/man input and start forward input

1753


which book is better for rrb examination?

1593


What is step up chopper?

808


What are level triggered flip flop?

782


What is meant by pmdc?

776