Write a program using micrprocessor?

Answers were Sorted based on User's Feedback



Write a program using micrprocessor?..

Answer / 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

Write a program using micrprocessor?..

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

Post New Answer

More Electronics Communications Interview Questions

When two UPS are connected in parallel, can you have a bypass raw power supply connected across? Please explain

1 Answers  


Why do we use Multiple Access Schemes? What is the difference between FDMA, TDMA and CDMA?

1 Answers  


what is the use of -3 db frequency?& why does it exist in filters?

1 Answers  


Electronic technical analysis

0 Answers   Hella,


What is the disadvantage of on-off control?

0 Answers  






how is one able to tell the unlock code for the mobile phone using the imei

0 Answers  


Is transformer an amplifier?

7 Answers  


What is the magnetic susceptibility of a paramagnetic material?

0 Answers   C DAC, CDAC,


why the name of op amp is 741?

6 Answers   CTIMT, Maritime Academy,


Explain the working of voltage commutated chopper with aid of circuit diagram and necessary waveforms. Derive an expression for its output voltage?

0 Answers  


Which configuration among ce, cb, cc gives highest input impedance and no voltage gain?

0 Answers  


What are the losses that occur in a thyristor during working conditions?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4452)
  • Electrical Engineering Interview Questions Electrical Engineering (16637)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)