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 conductivity of perfect dielectric?
what are the fiber losses,How to rectify it?
im an electronics and communication engineering..i have to attend an interview based on contract basis.i kindly request u to send all possible questions to my mail...its varsha.happy@rediffmail.com
define inter-base resistance
i am also applied for the AAI jr executive (electronics/ATC) written test. pls forward me the syllabus & test pattern if any question papers, any one got reply for this quaries? if any one know plz reply to me on my email shivani_19jan@yahoo.co.in
3 Answers AAI Airports Authority Of India,
What is integrating type converter
how to calculet the resolution of 4 to 20 mA current signal
What will be voltage between earth - Phase & earth - neutral.
how a choke of tubelight can be used to increse reciving power of antina?
how to calculate percentage impedance
We all know about DC concept,i.e +ve connected to +ve ,-ve connected to -ve. If landline phones lines are dc lines,then how it works even if the polarties are interchanged??
the configure that is worst effected by ?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
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)