Discussion
The correct assembly language code in an 8085 microprocessor to move 2500H in H-L pair register is:
Answer: A
In the 8085, LXI (load register pair immediate) is the instruction that loads a 16 bit number into a register pair. The instruction LXI H, 2500H puts 25H in the H register and 00H in the L register, so the H-L pair holds 2500H.
MOV copies one 8 bit register into another (or to memory), so it cannot load the 16 bit value 2500H, and MOV H, 2500H is not a valid instruction. LXI L, 2500H is not valid either, because the register pair is named by its first register, H for the H-L pair. The answer is option A.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development