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

Define pulse width modulation?

0 Answers  


Why we need biasing for transistor, fet and mosfet?

0 Answers  


important questions about sip and ims protocols

0 Answers  


what is antenna?

21 Answers   Idea,


What is the maximal decimal number that can be accommodated in a byte? a) 128 b) 256 c) 255 d) 512

5 Answers   BSNL,


What are the applications of log amplifier?

0 Answers  


what is perfect meaning of biasing?

3 Answers  


What is the main drawback of a single phase half bridge inverter?

0 Answers  


Why signalling link load should be less than 30% in telecommunication?

0 Answers  


wat book i can refer to succeed in isro exam ...and where i can get the last 5 years questions

0 Answers  


why the chemistry is essential for ece branch students?

2 Answers  


What are the advantages of gto over scr?

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • 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)