Advertisement Remove all ads

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

Explain the function of following instructions of Intel 8085:

L x I H, 2900 H

Advertisement Remove all ads

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)

Concept: Instruction Set and Programming of 8085
  Is there an error in this question or solution?
Advertisement Remove all ads

APPEARS IN

Advertisement Remove all ads
Advertisement Remove all ads
Share
Notifications

View all notifications


      Forgot password?
View in app×