Write a program using micrprocessor?
Answers were Sorted based on User's Feedback
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 |
Answer / vinit92
TRANSFER A BLOCK OF N BYTES FROM SOURCE TO DESTINATION ..
LXI H,2000H
MVI B,05H
LXI D,3000H
LOOP: MOV M,A
STAX D
INX H
INX D
DCR B
JNZ LOOP
HLT
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of starter and choke in tube
0 Answers Sukhbir Solar Energy, Wipro,
What is meant by D-FF?
What do you understand by ammeter shunt?
how the silicon knows 0's and 1's...
What is the function of Bias Tee (BPxx) input Which power supply card required for Ultra BTS for DC 24V input What is the state if the GREEN LED is glowing on PWSx card
Name some of the current controlled (current driven) devices?
what is SSI?
Explain why reversal of phase occurs in a bjt ce amplifier.
why odd number of lines used for scanning
why the cut in voltage of the LED is higher then diode? WHAt is the reason of not using the LED in the rectifier circuit
can any one tell difference between 802D and 810D???
who invented c language?
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)