Describe the layout and structure of the EXEC Parameter Block (EPB) passed to MS-DOS INT 21h Service 4Bh (AH = 4Bh, AL = 00h) when loading and executing a child program.
Ch 12: Terminate and Stay Resident (TSR)
In-depth study of writing Terminate and Stay Resident (TSR) programs in assembly, preserving resident memory blocks, intercepting keyboard scancodes via INT 09h, and unhooking interrupt vectors cleanly.
127 Questions127 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 31 โ 40 of 127 Questions
Page 4 of 13
In a DOS buffered keyboard input structure (INT 21h Service 0Ah), which byte offset stores the count of characters actually read upon return?
In an MS-DOS Device Driver Header, which bit in the 16-bit Device Attribute Word determines whether the driver represents a character device or a block device?
DOS INT 21h Service 01h reads a character from standard input with echo. In which register is the ASCII value returned?
In an MS-DOS Device Driver Header, which bit in the 16-bit Device Attribute Word determines whether the device is a character device or a block device?
What are device drivers in operating systems? Explain their primary role and describe the device driver header structure in MS-DOS.
Explain how bitwise logical instructions (AND, OR, XOR, NOT) operate on registers in 8088 assembly language using 'AND AX, BX' as an example.
Explain the bitwise AND and OR instructions in 8088 assembly language, detailing their operational behavior on corresponding bits and supported operand forms.
Describe the operational characteristics of the bitwise XOR (Exclusive OR) instruction in 8088 assembly language. Why is XOR reversible, and what are its practical applications?
Explain the operation of the bitwise NOT instruction in 8088 assembly language and highlight how it differs from AND, OR, and XOR.