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 maskable or non maskable interrupts
Explain zener breakdown and avalanche breakdown?
in optical fiber cabels, which type of losses can be occured, and how the signal-loss happens?
What is difference between a multiplexer and encoder? Also what is the between demultiplexer and decoder?
main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }
What is an amplifier?
What is the typical data rate for wavelength division multiplexing?
what are active and Passive Components?
102 Answers AIT, Ariba, Baldwin, Birla, DELL, Electronics, Infosys, KarMic, L&T, Nokia,
why -48v is used for BTS in telecom?
How many RRI we can use in One BTS?
What is auadag?
What size of a UPS can support a NetGear ProSafe GS752TP Switch (512.8W), up to 4 hours? What size of battery(s) needed & how many?
0 Answers Omni Globe International,
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)