Display Memory

Lecture 16: Display Memory

216 Questions192 MCQs19 Short Questions5 Long Questions
Showing 131140 of 216 Questions
Page 14 of 22
Q131❓ MCQ📑 Lec 6Medium🔁RepeatedHigh-Yield💡Conceptual
When executed with the REP prefix (e.g., REP STOSW), how is the CX register modified after each iteration?
💻 assembly Snippet
rep stosw
  1. A.Decremented by 1
  2. B.Decremented by 2
  3. C.Incremented by 1
  4. D.Incremented by 2
Q132❓ MCQ📑 Lec 6Medium🔁RepeatedHigh-Yield💡Conceptual
In the STOSW instruction, when the Direction Flag (DF) is set (DF = 1), how is the Destination Index (DI) register modified?
💻 assembly Snippet
std
stosw
  1. A.Decremented by 1
  2. B.Decremented by 2
  3. C.Incremented by 1
  4. D.Incremented by 2
Q133❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
Which of the following status flags in the FLAGS register are affected by the MOVSW instruction?
💻 assembly Snippet
movsw
  1. A.Direction Flag (DF)
  2. B.Parity Flag (PF)
  3. C.Zero Flag (ZF)
  4. D.No effect on flags
Q134🧠 Long Problem📑 Lec 6HardHigh-Yield💡Conceptual🌟Starred
Write an 8088 assembly language subroutine named 'ShowResult' that receives two memory addresses via the stack: the address pushed first is the starting location of a 16-bit signed integer array, and the address pushed second is the memory location containing the array length. The subroutine must determine whether the array elements are sorted in strictly ascending order and print 'Yes' on the screen if sorted, or 'No' if not sorted. Ensure proper stack frame management, register preservation, and stack cleanup.
💻 assembly Snippet
push array_addr
push length_addr
call ShowResult
Q135❓ MCQ📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
In text mode video memory, how many bytes are allocated to represent a single character cell location on the screen?
💻 assembly Snippet
mov word [es:0], 0x0741    ; Write ASCII 'A' (0x41) with attribute 0x07
  1. A.One byte
  2. B.Two bytes
  3. C.Four bytes
  4. D.Eight bytes
Q136❓ MCQ📑 Lec 6EasyHigh-Yield💡Conceptual
In graphics display mode, a specific location in video memory maps directly to a ________ on the physical screen.
💻 assembly Snippet
mov ah, 0x0C
mov al, 0x0F
int 0x10
  1. A.Line
  2. B.Dot (Pixel)
  3. C.Circle
  4. D.Rectangle
Q137📝 Short Q📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
What is the ASCII encoding standard, and how are ASCII character codes used in x86 text mode video memory to render characters on screen?
💻 assembly Snippet
mov ax, 0xB800
mov es, ax
mov byte [es:0], 'A'
mov byte [es:1], 0x07
Q138📝 Short Q📑 Lec 6Easy🔁RepeatedHigh-Yield💡Conceptual
What is the ASCII character encoding standard, and how does standard 7-bit ASCII (0–127) differ from IBM Extended ASCII (128–255)?
💻 assembly Snippet
mov al, 'A'
mov bl, 201
Q139🧠 Long Problem📑 Lec 6Hard🔁RepeatedHigh-Yield💡Conceptual🌟Starred
Explain the architecture and physical memory layout of Text Mode Display Memory (VGA) in IBM-compatible PCs, including screen resolution, memory base address, character cell byte structures, and physical address calculation for a given row and column.
💻 assembly Snippet
mov ax, 0xB800
mov es, ax
; Offset = (row * 80 + col) * 2
Q140📝 Short Q📑 Lec 6Medium🔁RepeatedHigh-Yield💡Conceptual
How are character shapes and font glyphs rendered on a VGA screen from ASCII codes stored in video display memory?