MICROPROCESSOR AND MICROCONTROLLER

PIC MICROCONTROLLER

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Indirect addressing is done through ____
A
INDF
B
PCL
C
STATUS
D
INTCON
Explanation: 

Detailed explanation-1: -Indirect Addressing Modes When the value of FSRn is between 0h and FFFh instructions using INDFn will access the memory in the Traditional Access Method. In this mode of operation all memory locations including Special Function Registers, General Purpose RAM, and the Common memory are accessable through INDFn.

Detailed explanation-2: -File register 04 is the File Select Register (FSR). It is used for indirect or indexed addressing of the other file registers, particularly the GPRs (General Purpose Registers 0Ch-4Fh).

Detailed explanation-3: -An indirect address is an absolute, relative, or symbolic address, (or a general register containing an address) of a location that contains another address. An indirect address must be followed by one or more indirection symbols to indicate a corresponding number of levels of indirect addressing.

Detailed explanation-4: -Indirect addressing is good to repeat a program code for several times but with different values. Then you can create a step counter and the counter value will be the base of the indirect address to load different values. You have an axis e.g. which has to be moved to different positions in a sequence.

There is 1 question to complete.