Addressing Modes

Lecture 7: Addressing Modes

395 Questions320 MCQs71 Short Questions4 Long Questions
Showing 281290 of 395 Questions
Page 29 of 40
Q281❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
When executing the OUT assembly instruction to send data to an I/O port, which register serves as the required source operand?
💻 assembly Snippet
out dx, al
out 0x60, ax
  1. A.AL or AX
  2. B.BL or BX
  3. C.CL or CX
  4. D.DL or DX
Q282❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
In 8088 CPU memory addressing, the Code Segment (CS) base register is implicitly associated by default with which offset register?
  1. A.SS
  2. B.BP
  3. C.CX
  4. D.IP
Q283❓ MCQ📑 Lec 2MediumHigh-Yield💡Conceptual
If 'BB' is the OPCODE for moving a 16-bit constant into the AX register, what is the hexadecimal byte representation in memory (using Little-Endian notation) for the instruction 'MOV AX, 336' (where 336 decimal = 0x0150 hex)?
💻 assembly Snippet
mov ax, 336  ; Opcode: BB, Immediate: 0150h -> Bytes: BB 50 01
  1. A.0xBB0150
  2. B.0x5001BB
  3. C.0x01BB50
  4. D.0xBB5001
Q284❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
In x86 assembly language, the CX register is normally utilized as a:
💻 assembly Snippet
mov cx, 10
  1. A.Source register
  2. B.Counter register
  3. C.Index register
  4. D.Pointer register
Q285❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
All memory addressing mechanisms in iAPX88 architecture compute and return an offset value called the:
💻 assembly Snippet
mov ax, [bx+si+4]  ; Effective Address = BX + SI + 4
  1. A.Effective address
  2. B.Faulty address
  3. C.Indirect address
  4. D.Direct address
Q286❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
In 8088 microprocessor architecture, index registers (such as SI and DI) are primarily used to store:
💻 assembly Snippet
mov si, offset data_array
mov ax, [si]
  1. A.Data values
  2. B.Intermediate results
  3. C.Offset addresses
  4. D.Segment bases
Q287❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
The individual bits of which register work independently and individually as 1-bit status indicators or control switches?
  1. A.Index register
  2. B.Base register
  3. C.Flags register
  4. D.Accumulator
Q288❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
In 8088 assembly language, the CX register is primarily designated as the:
💻 assembly Snippet
mov cx, 10
  1. A.Count register
  2. B.Data register
  3. C.Index register
  4. D.Base register
Q289❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
True or False: The OUT instruction uses the accumulator register (AL or AX) as its compulsory source operand when sending data to an I/O port.
💻 assembly Snippet
out dx, al
  1. A.True
  2. B.False
Q290❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
Processor registers are high-speed internal storage locations that temporarily hold intermediate calculation results. Registers are also commonly referred to as:
  1. A.Scratchpad RAM / Scratchpad memory
  2. B.Secondary storage
  3. C.Virtual memory
  4. D.Read-Only Memory (ROM)