Advertisements
Advertisements
प्रश्न
Explain the following instruction of 8085 MPU:
XCHG
Explain the following instruction of 8085 Micro-processor:
XCHG
स्पष्ट करा
Advertisements
उत्तर
XCHG: [EXCHANGE H AND L WITH D AND E]
Format: [H] ← [D]
[L] ← [E]
Addressing: Register
Group: Data transfer group
Bytes: 1 byte
Flag: None
Comment: The data in register H is swapped with the data in register D, and the data in register L is swapped with the data in register E.
Example: Let [H] = 23 H, [L] = 32 H, [D] = 53 H and [E] = 55 H
Instruction: XCHG
After execution: [H] = 53 H and [L] = 55 H,
[D] = 23 H and [E] = 32 H
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
