Instruction Addressing                                                                                                                                  Print this page
<< Previous |  First Last |  Next >>       

Diaplacement Addressing:

A very powerful mode of addressing combines the capabilities of direct addressing and register indirect addressing, which is broadly categorized as displacement addressing:

EA   =   A   +  (R)

Displacement addressing requires that the instruction have two address fields, at least one of which is explicit. The value contained in one address field (value = A) is used directly. The other address field, or an implicit reference based on opcode, refers to a register whose contents are added to A to produce the effective address. The general format of Displacement Addressing is shown in the Figure 4.6.

Three of the most common use of displacement addressing are:

  • Relative addressing
                    
  • Base-register addressing
                   
  • Indexing
<< Previous |  First |  Last |  Next >>