Академический Документы
Профессиональный Документы
Культура Документы
• Data is in the address part , from where we get the effective address.
• One instruction has two memory locations.
• Effective Address=031
• Data=500
031 500
DIRECT ADDRESSING MODE
031 500
500 800
INDIRECT ADDRESSING MODE
• In this we find the address from which we find the address of data.
• Effective Address=800
• Data=1200
031 500
500 800
800 1200
RELATIVE ADDRESSING MODE
031 500
500 800
800 1200
532 123
INDEX ADDRESSING MODE
• The content of the Index Register are added to the address part of
the instruction to get and effective address.
• Index Register = 100 030 Mode Op Code
• Data = 1234
500 800
800 1200
532 123
600 1234
REGISTER INDIRECT ADDRESSING MODE
400 12345
500 800
800 1200
532 123
600 1234
REGISTER ADDRESSING MODE
400 12345
500 800
800 1200
532 123
600 1234
400
AUTO-DECREMENT
500 800
600 1234
400
399 1500
AUTO-INCREMENT
500 800
532 123
600 1234
399 1500
NUMERICAL EXAMPLE
399 450
AC
400 700
500 800
600 900
702 325
800 300
NUMERICAL SOLUTION
Register 400