ADDRESSING MODES


Programs are normally written in a high level language, which enables the programmer to use constants, local and global variables, pointers and arrays. When translating these constructs to lower languages compiler must be able to implement these constructs using the facilities provided in the instruction set of the computer in which the program will be run.
The different ways in which the location of an operand is specified in an instruction are referred to as addressing modes.  

  • Register Mode
  • Index Mode
  • Absolute Mode
  • Relative Mode
  • Immediate Mode
  • Auto increment Mode
  • Indirect Mode
  • Auto decrement Mode

Register mode

The operand is the contents of a processor register; the name (address) of the register is given in the instruction. 

Assembler Syntax: Ri
Addressing function: EA=Ri
E.g.: MOV Ri, Rj

INSTRUCTIONS AND INSTRUCTION SEQUENCING << Previous
Next >> Lesson on Addressing Modes


Support us generously: contact@lessons2all.com

Our aim is to provide information to the knowledge seekers. 


comments powered by Disqus








Footer1