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 are emergency handovers?
Explain how many mosfet switches are there in dynamic ram?
what is rectifier?
Addressing mode of SHLD 2050H.
What is channel coding?
Name one microprocessor that works in the same way as that of intel 8085 but of another company.
What happens when a voltmeter is connected in series with the circuit?
advantages of gsm over cdma
what is ISDN 1:2or 1:8 ? what is bandwidth allocation? how to the design small network with 4 router?
what is the exact difference between zener breakdown voltage and avalanche voltage??
Explain how to format a memory card by using memory card?
What is the Difference between von neumann and harvard computer architecture?
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)