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


Please Help Members By Posting Answers For Below Questions

Which material is piezoelectric?

608


diff between AMD64 and intel P4

1630


Explain the difference between inductance and resistance?

483


Define virtual ground in the op amp?

575


What is the difference between CAT 5e communication cable & CAT4 Communication cable

1589






What are the applications of demultiplexer?

607


I am importing dc-dc converters from singapore to india. how much tax will be applicable towards Custom duty.and the rates of the custom duty.

1730


how to test on design and style in software?

564


What is analog-to-digital conversion of signals?

596


* ** *12* *123* *1234* *12345* *123456* ********

1594


What is the difference between power amplifier and voltage amplifier?

614


SIR,i am applying for the jr.engineer(signal)post.kindly if you send some previos sample question -answer i will be higly obliged

1712


Explain resistivity?

605


Give the difference between transducer and transponder?

536


Describe the difference between p-type and n-type semiconductor materials.

645