Showing posts with label Indirect. Show all posts
Showing posts with label Indirect. Show all posts

Thursday, 5 January 2012

Addressing Modes


  • Immediate

  • Direct

  • Indirect

  • Register

  • Register Indirect

  • Displacement (Indexed)

  • Stack


Immediate Addressing



  • Operand is part of instruction

  • Operand = address field

  • e.g. ADD 5


—   Add 5 to contents of accumulator


—   5 is operand




  • No memory reference to fetch data

  • Fast

  • Limited range


Direct Addressing



  • Address field contains address of operand

  • Effective address (EA) = address field (A)