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

Why opamp called direct coupled high differential circuit?

0 Answers  


how the silicon knows 0's and 1's...

0 Answers  


What are the function of different capacitor, resistors, transister, diods, thyrister( like SCR)in any circuit?

0 Answers  


What is the formula for non inverting amplifier?

0 Answers  


friends, in closed loop system bandwidth is encresed comparision to open loop. what is mean by that? generally bandwidth means something realeted to frequency.

1 Answers   BARC,






Define timer.

0 Answers  


What is full-adder?

0 Answers  


Why is silicon preferred over germanium in the manufacture of semiconductor devices?

0 Answers  


What is the difference between microprocessor and DSP?

0 Answers   CTS,


howw can we transmit the call of gsm?

0 Answers  


The peripherals of the computer(like keyboard, monitor) are connected through buses directly or is there any interfacing device present in the CPU?

3 Answers   NTPC,


Why sinusoidal waves are mostly used for communication rather than any other waveforms..please give 4 reasons

3 Answers  


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