Addressing Modes

Lecture 7: Addressing Modes

395 Questions320 MCQs71 Short Questions4 Long Questions
Showing 101110 of 395 Questions
Page 11 of 40
Q101🧠 Long Problem📑 Lec 2HardHigh-Yield💡Conceptual
Compare the roles of the Code Segment Register (CS) and Data Segment Registers (DS / general data registers) in 8088 architecture.
💻 assembly Snippet
mov ax, cs
mov ds, ax
Q102❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
Which 8088 assembly instruction decrements the Stack Pointer (SP) by two bytes and then transfers a 16-bit word from the source operand onto the top of the stack?
💻 assembly Snippet
push ax    ; Decrements SP by 2 and stores AX at [ss:sp]
  1. A.PUSH
  2. B.POP
  3. C.CALL
  4. D.MOV
Q103📝 Short Q📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
Provide valid 8088 assembly instruction(s) to copy the contents of the FLAGS register into register AX.
💻 assembly Snippet
pushf
pop ax
Q104📝 Short Q📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
Describe the working mechanism and stack operation of the POP instruction in 8088 assembly language.
💻 assembly Snippet
pop ax
Q105📝 Short Q📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
When the instruction 'push ax' is executed in a downward-growing (decrementing) stack, how does the value of SP (Stack Pointer) change?
💻 assembly Snippet
push ax
Q106❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
In 8088 assembly language instructions, a constant (immediate value) can never be used as a ________ operand.
💻 assembly Snippet
mov ax, 10    ; Valid: 10 is source
mov 10, ax    ; Invalid: Constant cannot be destination
  1. A.Source
  2. B.Destination
  3. C.Memory
  4. D.Register
Q107❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
True or False: In 8088 assembly language, a single MOV instruction can copy data directly from one memory location to another memory location (e.g., 'mov [num2], [num1]').
💻 assembly Snippet
; Invalid instruction:
mov [num2], [num1]

; Valid equivalent:
mov ax, [num1]
mov [num2], ax
  1. A.True
  2. B.False
Q108❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
True or False: In 8088 assembly language, arithmetic and data movement instructions allow mixing operands of different sizes (such as adding an 8-bit register directly to a 16-bit register: 'add bx, al') without explicit zero/sign extension.
💻 assembly Snippet
; Invalid mismatched operation:
add bx, al

; Valid size-matched operation:
mov ah, 0
add bx, ax
  1. A.True
  2. B.False
Q109❓ MCQ📑 Lec 2EasyHigh-Yield
In the 8088 assembly language instruction 'MOV AX, 5', how many operands are present?
💻 assembly Snippet
mov ax, 5
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q110❓ MCQ📑 Lec 2Easy🔁RepeatedHigh-Yield💡Conceptual
All memory addressing modes in the Intel 8088 (iAPX88) processor calculate an offset within a segment, which is called the ________ address.
💻 assembly Snippet
mov ax, [bx+si+4]    ; Effective Address EA = BX + SI + 4
  1. A.Effective Address
  2. B.Indirect Address
  3. C.Direct Address
  4. D.Faulty Address