Display Memory

Lecture 16: Display Memory

216 Questions192 MCQs19 Short Questions5 Long Questions
Showing 7180 of 216 Questions
Page 8 of 22
Q71❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In unsigned comparison (`CMP DEST, SRC`), if the result produces `ZF = 0` AND `CF = 0`, which relationship condition between unsigned destination (`UDEST`) and unsigned source (`USRC`) is satisfied?
💻 assembly Snippet
cmp ax, bx
ja label ; Jumps if CF = 0 and ZF = 0 (AX > BX unsigned)
  1. A.DEST = SRC
  2. B.DEST != SRC
  3. C.UDEST < USRC
  4. D.UDEST > USRC
Q72❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In unsigned comparison (`CMP DEST, SRC`), if `CF = 0` (no borrow generated during subtraction), which relationship condition between unsigned destination (`UDEST`) and unsigned source (`USRC`) is satisfied?
💻 assembly Snippet
cmp ax, bx
jae label ; Jumps if CF = 0 (AX >= BX unsigned)
  1. A.DEST = SRC
  2. B.DEST != SRC
  3. C.UDEST < USRC
  4. D.UDEST >= USRC
Q73❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Which conditional jump instruction is executed if the previous arithmetic or logical operation produced a zero result in the destination register (`ZF = 1`)?
💻 assembly Snippet
sub ax, ax ; AX = 0 -> ZF = 1
jz  zero_label ; Jump is taken
  1. A.JZ / JE
  2. B.JNZ / JNE
  3. C.JC
  4. D.JNC
Q74❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
After executing a `CMP` instruction, which conditional jump instruction is taken if both operands are equal (`ZF = 1`)?
💻 assembly Snippet
cmp ax, bx ; Compares AX and BX
je  equal_label ; Jump taken if AX == BX (ZF = 1)
  1. A.Jump if zero (JZ) / Jump if equal (JE)
  2. B.Jump if equal (JE) only
  3. C.Jump if zero (JZ) only
  4. D.No jump available
Q75❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Multi-word or arbitrarily large numbers can be added in x86 assembly language using a proper combination of which instructions?
💻 assembly Snippet
; Adding 32-bit numbers stored in (DX:AX) and (CX:BX)
add ax, bx ; Add lower 16 bits
adc dx, cx ; Add higher 16 bits with carry
  1. A.ADD and ADC
  2. B.ABD and ADC
  3. C.ADC and ADC
  4. D.None of the Given
Q76❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Just as `ADC` performs addition with carry, which instruction performs subtraction while incorporating the borrow (Carry Flag) from a previous operation?
💻 assembly Snippet
; Subtracting 32-bit numbers (DX:AX) - (CX:BX)
sub ax, bx ; Subtract lower 16 bits
sbb dx, cx ; Subtract higher 16 bits with borrow
  1. A.SwB
  2. B.SBB
  3. C.SBC
  4. D.SBBC
Q77❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
When the 16-bit bitwise instruction `and ax, bx` is executed, how many individual bitwise `AND` logic operations occur in parallel across the register bits?
💻 assembly Snippet
and ax, bx ; Performs 16 parallel bitwise AND operations
  1. A.16 AND
  2. B.17 AND
  3. C.32 AND
  4. D.8 AND
Q78❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Which logical instruction is primarily used as a masking operation to test or inspect whether specific target bits in a register or memory location are set?
💻 assembly Snippet
and al, 00000001b ; Masks all bits except bit 0 to test if bit 0 is set
  1. A.AND
  2. B.OR
  3. C.XOR
  4. D.NOT
Q79❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Which logical instruction can be used as a masking operation to selectively invert or toggle specific bits while leaving other bits unchanged?
💻 assembly Snippet
xor al, 00001111b ; Inverts lower 4 bits of AL, leaves upper 4 bits unchanged
  1. A.AND
  2. B.OR
  3. C.XOR
  4. D.NOT
Q80❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In assembly language programming, bit masking operations are classified into which four primary operations?
  1. A.Clearing, XOR, Inversion and Testing
  2. B.Clearing, Setting, Inversion and Testing
  3. C.Clearing, XOR, AND and Testing
  4. D.None of the Given