894 views

Match the following :

$\begin{array}{clcl} & {\textbf{Addressing Mode}} & {} & {\textbf{Location of operand}} \\ \text{a.} & \text{Implied} & \text{i.} & \text{Registers which are in CPU}\\ \text{b.} & \text{Immediate} & \text{ii.} & \text{Register specifies the address}\\&& &\text{of the operand } \\ \text{c.} & \text{Register} & \text{iii.} & \text{Specified in the register} \\ \text{d.} & \text{Register Indirect } & \text{iv.} & \text{Specified implicitly in the definition}\\&&& \text{ of instruction }\\ \end{array}$

$\textbf{Codes :}$

1. $\text{a-iv, b-iii, c-i, d-ii}$
2. $\text{a-iv, b-i, c-iii, d-ii}$
3. $\text{a-iv, b-ii, c-i, d-iii}$
4. $\text{a-iv, b-iii, c-ii, d-i}$

### 1 comment

option A) is correct

Implied is implicitely defined ..so a->4

immediate mode takes directly the value contained in a register in CPU...so b->1

very direct c. Register ->3 Specified in the register

and register indirect means that, it will first go to the register and get the Adress, where the actual operand is residing

so d->2

so matching all these we get B is the correct answer

i. Registers which are in CPU

iii. Specified in the register

these 2  are still confusing me
look , specified in register means ,operand specified in register...suppose suppose i get an indirect adressing which referes me to A register, then again i am refered to register B... that means it was directly not specified in register

and Direct adressing is not option 1, coz whatever direct and indirect is, registers will always will be in CPU..so that is pointless
in Immediate mode  we get the value, from registers  in cpu.. and register adressing ,oprand is specified in register..

now if you swap these twop options ,then  register=cpu in register, ....But then there will be no disctinction between, direct and indirect
hmm.. thanks...
Implied is implicitely defined ..so a->4

immediate mode takes directly the value contained in a register in CPU...so b->1

very direct c. Register ->3 Specified in the register

and register indirect means that, it will first go to the register and get the Adress, where the actual operand is residing

so d->2

so matching all these we get B is the correct answer

now you may have a doubt

i. Registers which are in CPU

iii. Specified in the register are same thing!!!!

but  specified in register means ,operand specified in register...suppose suppose i get an indirect adressing which referes me to A register, then again i am refered to register B... that means it was directly not specified in register

and Direct adressing is not option 1, coz whatever direct and indirect is, registers will always will be in CPU..so that is pointless

@Uddipto.

how come Immediate - Registers in the cpu?

Do registers contain the operand ? No

Btw, whats the difference between "specified in the register" and "Register which are in CPU" ?

What is final answer option A or B ???
implied means which doesn't need any address that is like return  , load etc hence option 4 is correct for it

in the immediate mode we provide the operand with instruction which are stored in register..like  MUL 5 (5 is immediate operand ) hence option 3.

in register mode the operand itself is a register hence in instruction we directly provide name of register hence option is 1 .

In register indirect the register actually contain the address , where the operand is present so option is 2..

over all answer 'A'  is correct one

1 vote