answersLogoWhite

0

What is the different between LXI and LHLD in 8085?

LHLD 2050 Means..copy content of 2050 and 2051 to HL pair

if

2050 -> 90H

2051->5AH

LHLD 2050 implies..

L -> 90H

H -> 5AH

LXI means..Load Register Pair with Immediate data.. 16bit data

LXI B ,2050H

Loads BC pair with value 2050H

B-> 20H

C-> 50H

Its similar to 2 MVI instruction

ie

MVI H,20H

MVI L,50H

which eventually implies..HL -> 2050H

the advantage of LXI over MVI is that LXI is 3 byte and requires 10T states.Two MVI instruction is 4Byte and require 14Tstates...

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi

Add your answer:

Earn +20 pts
Q: What is the different between LXI and LHLD in 8085?
Write your answer...
Submit
Still have questions?
magnify glass
imp