MICROPROCESSOR AND MICROCONTROLLER

8051 INSTRUCTION SET ADDRESSING MODES

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
MOV A, #56H MOV R1, #50H MOV 50H, # 45H XCHD A, @R1 What is the result at A, R1?
A
56H, 45H
B
45H, 50H
C
50H, 56H
D
45H, 56H
Explanation: 

Detailed explanation-1: -In assembly language, instruction MOV A B. means moving the content of B (source) to A (destination).

Detailed explanation-2: -In 8085 Instruction set, MOV r, M is an instruction where the 8-bit data content of the memory location as pointed by HL register pair will be moved to the register r. Thus this is an instruction to load register r with the 8-bit value from a specified memory location whose 16-bit address is in HL register pair.

There is 1 question to complete.