Addressing Modes MCQ Quiz in తెలుగు - Objective Question with Answer for Addressing Modes - ముఫ్త్ [PDF] డౌన్‌లోడ్ కరెన్

Last updated on Mar 8, 2025

పొందండి Addressing Modes సమాధానాలు మరియు వివరణాత్మక పరిష్కారాలతో బహుళ ఎంపిక ప్రశ్నలు (MCQ క్విజ్). వీటిని ఉచితంగా డౌన్‌లోడ్ చేసుకోండి Addressing Modes MCQ క్విజ్ Pdf మరియు బ్యాంకింగ్, SSC, రైల్వే, UPSC, స్టేట్ PSC వంటి మీ రాబోయే పరీక్షల కోసం సిద్ధం చేయండి.

Latest Addressing Modes MCQ Objective Questions

Top Addressing Modes MCQ Objective Questions

Addressing Modes Question 1:

In case the code is position-dependent, the most suitable addressing mode is:

  1. Direct mode
  2. Indirect mode
  3. Relative mode
  4. Indexed mode
  5. Immediate addressing mode

Answer (Detailed Solution Below)

Option 3 : Relative mode

Addressing Modes Question 1 Detailed Solution

If the code is position-dependent, then a suitable addressing mode is a relative addressing mode.

The effective address is computed from X (PC, X bytes away from the address pointed by the program counter.

Relative addressing mode uses a program counter and indexed addressing mode uses and general-purpose register.

Addressing Modes Question 2:

Consider a cache memory organization with m lines in which the cache is divided into v sets, each of which consists of k lines. The set associative mapping technique reduces to direct mapping when:

  1. v = m and k = 1
  2. v = 1 and k = m
  3. v = m and k = m
  4. v = 1 and k = 1

Answer (Detailed Solution Below)

Option 1 : v = m and k = 1

Addressing Modes Question 2 Detailed Solution

Answer: Option 1

Explanation

We have given a cache memory organization with m lines in which the cache is divided into v sets, each of which consists of k lines.

Consider m = 8, v = 4, k = 2

Representation for this organization is:

F2 Raju Shraddha 20.20 D3

To reduce it to direct mapping:

Make v = m, because in both direct mapping and set associative mapping, we have to take the mod operation to find the line number and set number respectively.

Also, make k = 1, because each set starts behaving like a line as in the case of direct mapping.

Addressing Modes Question 3:

The skip instruction is ________ instruction.

  1. zero address
  2. one address
  3. two address
  4. three address
  5. four address

Answer (Detailed Solution Below)

Option 1 : zero address

Addressing Modes Question 3 Detailed Solution

The skip instruction does not need an address field and is therefore a zero-address instruction.

A conditional skip instruction will skip the next instruction if the condition is met. This is accomplished by incrementing the program counter during the execute phase in addition to its being incremented during the fetch phase.

If the condition is not met, control proceeds with the next instruction in sequence where the programmer inserts an unconditional branch instruction.

Addressing Modes Question 4:

What is the addressing mode used in the instruction PUSH B?

  1. Direct
  2. Register
  3. Register indirect
  4. Immediate

Answer (Detailed Solution Below)

Option 3 : Register indirect

Addressing Modes Question 4 Detailed Solution

PUSH B:

  • Store the contents of register pair BC on top two locations of the stack
  • Address are defined by stack pointer
  • So, it is register indirect addressing mode

Addressing Modes Question 5:

In a system the contents of PC, Base register, Register R1, and Register R2 has contents 80, 140, 20, and 40, respectively. Content of R2 is used as the displacement value. What is the effective address computed using the Base addressing and the Relative - Base addressing modes, respectively?

  1. 180, 240
  2. 180, 260
  3. 180, 160
  4. 220, 260

Answer (Detailed Solution Below)

Option 2 : 180, 260

Addressing Modes Question 5 Detailed Solution

Base addressing:
The operand’s offset is the sum of an 8 bit or 16-bit displacement and the contents of the base register BX or BP.

Effective address =  Base register + Content = 140 + 40 = 180

PC relative base addressing:

The effective address for a PC - relative instruction address is the offset parameter added to the address of the next instruction. This offset is usually signed to allow reference to code both before and after the instruction.

Effective address = Program Counter + Base register + Content = 80 + 140 + 40 = 260

Addressing Modes Question 6:

Which of the following is a group of bits that instructs the computer to perform a specific operation?

  1. address
  2. memory
  3. program counter
  4. instruction code

Answer (Detailed Solution Below)

Option 4 : instruction code

Addressing Modes Question 6 Detailed Solution

An instruction code is a group of bits that instruct the computer to perform a specific operation.

The operation code of an instruction is a group of bits that define such operations as add, subtract, multiply, shift, and complement.

Addressing Modes Question 7:

The address field of an instruction specifies the address of a memory location that contains the address of the operand. What type of addressing mode is this?

  1. Direct address mode 
  2. Index addressing mode 
  3. Indirect addressing mode 
  4. Register mode

Answer (Detailed Solution Below)

Option 3 : Indirect addressing mode 

Addressing Modes Question 7 Detailed Solution

Answer: Option 3

Concept

Implied/Implicit addressing mode:

In implied/implicit addressing mode the operand is hidden and the data to be operated is available in the instruction itself.

Register addressing mode:

It is the simplest addressing mode in which the source or destination is a data register or an address register. Content of the register provides the operand. Here, only one register reference is required to access the data.

Index addressing mode:

The address of the operand is obtained by adding to the contents of the general register (index register) a constant value. Index mode is used to access an array whose elements are in successive memory locations.

Direct addressing mode:

The data to be operated is available inside a memory location and that memory location is directly specified as an operand. The operand is directly available in the instruction itself.

Relative addressing mode:

Contents of the program counter are added to the address of an instruction to find the effective address.

Immediate addressing mode:

In this, the operand is specified in the instruction itself. It has an operand field and data is present in the address field of instruction. 

Base addressing mode:

In this, an effective address is found by adding the displacement with the base register. It is a type of displacement addressing mode.

Indirect addressing mode:

The address field of an instruction specifies the address of a memory location that contains the address of the operand.

In this, the address field of instruction gives the address where an effective address is stored. It is helpful to handle pointers.

Absolute addressing mode:

In this, the address part specifies the effective address of the operand. It is also known as direct addressing. If A = contents of an address field in instruction then Effective address = A. It is used to declare global variables in a program and used for branch instructions.

PC relative base addressing mode:

The effective address for a PC - relative instruction address is the offset parameter added to the address of the next instruction. This offset is usually signed to allow reference to code both before and after the instruction.

Addressing Modes Question 8:

Relative mode of addressing is most relevant to writing 

  1. Co-routines
  2. Position-independent code
  3. Sharable code 
  4. Interrupt Handlers 

Answer (Detailed Solution Below)

Option 2 : Position-independent code

Addressing Modes Question 8 Detailed Solution

Concept:

Relative addressing mode:

In this addressing mode, effective address is obtained by adding the next instruction address with the address field.

Effective address (EA) = PC + operand part

where PC is the program counter register

Therefore Relative mode of addressing is most relevant to writing position-independent code

Addressing Modes Question 9:

Which addressing mode the operands are specified implicitly in the definition of the instruction?

  1. register mode
  2. immediate mode
  3. implied mode
  4. register indirect mode

Answer (Detailed Solution Below)

Option 3 : implied mode

Addressing Modes Question 9 Detailed Solution

In implied mode, the operands are specified implicitly in the definition of the instruction.

For example,

the instruction "complement accumulator" is an implied-mode instruction because the operand in the accumulator register is implied in the definition of the instruction.

In fact, all register reference instructions that use an accumulator are implied-mode instructions.

Important Points

Addressing modes of 8085:

Immediate addressing mode:

In immediate addressing mode, the source operand is always data. If the data is 8-bit, then the instruction will be of 2 bytes, if the data is of 16-bit then the instruction will be of 3 bytes.

Register addressing mode:

In register addressing mode, the data to be operated is available inside the register(s) and register(s) is(are) operands. Therefore, the operation is performed within various registers of the microprocessor.

Direct addressing mode:

Indirect addressing mode, the data to be operated is available inside a memory location and that memory location is directly specified as an operand. The operand is directly available in the instruction itself.

Register indirect addressing mode:

In register indirect addressing mode, the data to be operated is available inside a memory location and that memory location is indirectly specified by a register pair.

Implied/Implicit addressing mode:

In implied/implicit addressing mode the operand is hidden and the data to be operated is available in the instruction itself.

Addressing Modes Question 10:

Addressing mode in which the address field of instruction specifies a register in the CPU, whose contents given the address of the operand in memory is called......

  1. indirect addressing mode
  2. relative addressing mode
  3. register addressing mode
  4. register indirect addressing mode

Answer (Detailed Solution Below)

Option 4 : register indirect addressing mode

Addressing Modes Question 10 Detailed Solution

Addressing modes of 8085:

Immediate addressing mode:

In immediate addressing mode, the source operand is always data. If the data is 8-bit, then the instruction will be of 2 bytes, if the data is of 16-bit then the instruction will be of 3 bytes.

Register addressing mode:

In register addressing mode, the data to be operated is available inside the register(s) and register(s) is(are) operands. Therefore, the operation is performed within various registers of the microprocessor.

Direct addressing mode:

Indirect addressing mode, the data to be operated is available inside a memory location and that memory location is directly specified as an operand. The operand is directly available in the instruction itself.

Register indirect addressing mode:

In register indirect addressing mode, the data to be operated is available inside a memory location and that memory location is indirectly specified by a register pair.

Implied/Implicit addressing mode:

In implied/implicit addressing mode the operand is hidden and the data to be operated is available in the instruction itself.

Get Free Access Now
Hot Links: teen patti palace real cash teen patti teen patti gold new version