The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+12 votes
2.1k 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.6k points)
edited by | 2.1k views

2 Answers

+20 votes
Best answer

(C) is the most appropriate one.

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

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

answered by Boss (14.4k points)
edited by
+7
Pointer dereference-> indirect addressing
Operating with a constant -> immediate addressing
Loop iteration counter check -> auto decrement addressing
0
Please explain autodecrement addressing and loops
–3 votes
Ans: C
answered by Loyal (7.5k 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

42,619 questions
48,614 answers
155,881 comments
63,863 users