English

Explain the Function of Following Instructions of Intel 8085: L X I H, 2900 H - Computer Science 2

Advertisements
Advertisements

Question

Explain the function of following instructions of Intel 8085:

L x I H, 2900 H

Solution

L x I H, 2900 H [LOAD REGISTER PAIR IMMEDIATE]

Format: LXI rp, addr

Addressing: Immediate

Group: Data transfer group

Bytes: 3 bytes

Flag: None

Comment: The byte 3 of instruction is moved into high order register (rh) of register pair rp any byte 2 is moved into low order register (r1) of register pair. The register pairs can be BC, DE, HL or SP. [SP (stack pointer) is not a valid register pair, but it can be used in LXI instruction]

Example: LXI H, 2900 H

This instruction will load H-L pair with 2900 H. 29 H will be loaded in high order register (H) and 00H will be loaded in low order register (L)

shaalaa.com
Instruction Set and Programming of 8085
  Is there an error in this question or solution?
2017-2018 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.