write an 8085 assembly program to swap two numbers without
using a temporary register
Answer Posted / shyam (cit)
(INDIRECT METHOD ) (ASSUME THAT 2000 & 2001 ARE THE
MEMORY LOCATIONS)
LXI D 2000
LDAX A
MOV B A
INX D
LDAX D
DCX D
STAX D
INX D
MOV A B
STAX D
HLT
| Is This Answer Correct ? | 11 Yes | 18 No |
Post New Answer View All Answers
Why can’t we use comparator to convert sin wave into square wave?
What is meant by pwm control in dc chopper?
What is the effect of temperature on the reverse current of a p-n junction?
WHAT TYPE OF GKS ASKED?
Guroscope works on the basis of what?
How many such pairs of digits are there in the word " strive" each of which has as many letters between them in the word as they are in english alphabets?
numerical on resolution of ADC.
What is HSN? How do we apply it?
what is frame structher in SDH .
Why common-collector circuit is known as an emitter follower?
How to make a robo car .Please give me whole theory ,photos of circuits etc. on my e-mail id.
What frequency bands are used in satellite communication?
What is the difference between plc and dcs control system?
Explain what does the arrow head represent in the schematic symbol of a p-n junction?
what is work of eoca card in nokia flexi EDGE BTS?