The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+10 votes
1.9k views

The most appropriate matching for the following pairs

     X: Indirect addressing          1: Loops 
     Y: Immediate addressing         2: Pointers 
     Z: Auto decrement addressing    3: Constants 

is

  1. X - 3  Y - 2  Z - 1
  2. X - 1  Y - 3  Z - 2
  3. X - 2  Y - 3  Z - 1
  4. X - 3  Y - 1  Z - 2
asked in CO & Architecture by Veteran (59.4k points)
retagged by | 1.9k views

2 Answers

+17 votes
Best answer

C is the most appropriate one

General instruction format: |opcode|Mode|Address Field|
Pointer dereference-> Indirect addressing, E.A = M[ Value stored in address field]
Operating with a constant -> Immediate addressing, E.A = Address field of the instruction.
Loop iteration counter check -> Auto decrement addressing R1=R1-1; E.A = R1

E.A = Effective address, where the required operand will be found.
 

answered by Boss (14.1k points)
edited by
+6
Pointer dereference-> indirect addressing
Operating with a constant -> immediate addressing
Loop iteration counter check -> auto decrement addressing
–2 votes
Ans: C
answered by Loyal (6.9k points)
Answer:

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

34,786 questions
41,762 answers
118,950 comments
41,409 users