Which one of the following addressing modes leads to poor programming practice ?

Which one of the following addressing modes leads to poor programming practice ? Correct Answer Direct addressing mode

Addressing modes used by the 8086 microprocessor are discussed below: 

Implied mode: In implied addressing the operand is specified in the instruction itself. In this mode, the data is 8 bits or 16 bits long and data is the part of instruction Zero address instruction is designed with implied addressing mode.

Immediate addressing mode: In this mode, data is present in the address field of instruction. Designed like one address instruction format. The limitation in the immediate mode is that the range of constants is restricted by the size of the address field.

Register mode: In register addressing the operand is placed in one of 8 bit or 16-bit general-purpose registers. The data is in the register that is specified by the instruction. Here one register reference is required to access the data.

Register Indirect mode: In this addressing the operand’s offset is placed in any one of the registers BX, BP, SI, DI as specified in the instruction. The effective address of the data is in the base register or an index register that is specified by the instruction. Here two registered reference is required to access the data. The 8086 CPUs let you access memory indirectly through a register using the register indirect addressing modes.

Auto Indexed (increment mode): Effective address of the operand is the contents of a register specified in the instruction. After accessing the operand, the contents of this register are automatically incremented to point to the next consecutive memory location.

Auto indexed ( decrement mode): Effective address of the operand is the contents of a register specified in the instruction. Before accessing the operand, the contents of this register are automatically decremented to point to the previous consecutive memory location. Here one register reference, one memory reference and one ALU operation are required to access the data.

Direct addressing/ Absolute addressing Mode: The operand’s offset is given in the instruction as an 8 bit or 16-bit displacement element. In this addressing mode, the 16-bit effective address of the data is part of the instruction. Here only one memory reference operation is required to access the data. The use of register addressing leads to poor programming practice because the number of machine cycles is more in this case and so requires more space and more time. 

Indirect addressing Mode: In this mode address field of instruction contains the address of the effective address. Here two references are required. 1st reference to get effective address. 2nd reference to access the data.

Related Questions

In international financial environment for settlement of debts there is a practice known as netting practice. The netting practice pertains to which one of the following?