The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
59 views
Can anyone please explain in simple terms indexed, relative and base register addressing modes?
asked in CO and Architecture by (135 points) | 59 views

1 Answer

0 votes

RELATIVE ADD. MODE - WHEN THE TARGET INSTRUCTION PRESENT IN the SAME SEGMENT DURING the PROGRAM EXECUTION, CONTROL WILL TRANSFER, CALLED AS INTRA-SEGMENT 

Effective add. calculated by adding the relative value to a program counter

EA= PC+ADDRESS FIELD VALUE

BASE ADD. MODE - WHEN THE TARGET INSTRUCTION PRESENT IN DIFFERENT SEGMENT THEN DURING THE PROGRAM EXECUTION, CONTROL WILL TRANSFER B/W  THE SEGMENT CALLED AS INTER-SEGMENT,

EFFECTIVE ADD.= [BASE REG] + ADD. FIELD 

answered by Junior (661 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,808 questions
54,481 answers
188,249 comments
74,525 users