Which register pair is passed to BIOS service `INT 10h` (`AX = 4F00h` - VESA Get SuperVGA Information) to return the SuperVGA information block structure pointer?
Ch 07: Video Memory & Screen Display
Covers direct text manipulation on 80x25 character screens, calculating screen offsets ((Row * 80 + Col) * 2), attribute byte structure (foreground, background, blink bit), and converting binary values to ASCII strings.
264 Questions264 MCQs0 Short Questions0 Long Questions
SEMESTER PASS
CS401 - Computer Architecture and Assembly Language Programming Examination Practice
Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.
Showing 161 โ 170 of 264 Questions
Page 17 of 27
In x86 assembly language, only __________ instructions allow transferring data directly from one memory location to another memory location in a single instruction.
After the execution of a `MOVS` (Move String / `MOVSB` / `MOVSW`) instruction, which of the following index registers are automatically updated?
In standard text-mode video memory where each screen location consumes a 16-bit word, what is contained in the higher-addressed byte (the second byte)?
Which set of assembly instructions correctly initializes the Extra Segment (`ES`) register to point to the base of color text-mode video memory ($0\text{xB8000}$)?
In standard 80x25 text-mode video memory, how many memory bytes are allocated to represent each character cell location on the display screen?
Executing the instruction `mov word [ES:0], 0x0741` writes character 'A' (`0x41`) with attribute `0x07` to the top-left screen cell. What is the resulting background color?
In x86 string processing instructions, what operation and address processing direction do the Direction Flag states `DF = 0` and `DF = 1` represent?
Explain the memory offset calculation formula and write the x86 assembly subroutine `scrollup` to scroll the 80x25 text-mode display screen up by a specified number of lines using string instructions (`REP MOVSW`).
Write the remaining x86 assembly code statements for the screen `scrollup` subroutine that set destination pointers, perform string copy using `REP MOVSW`, and clear the newly revealed bottom screen space using `REP STOSW`.