Ch 05: Subroutines and Stack Architecture

222 Questions222 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS401 - Computer Architecture and Assembly Language Programming Examination Practice

Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 221 โ€“ 222 of 222 Questions
Page 23 of 23
Q221
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 5๐Ÿท๏ธ 5.1. String InstructionsEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the Direction Flag (DF) in 8086 assembly language, and how does it control string manipulation processing?
๐Ÿ’ป assembly Snippet
; Setting Direction Flag for String Processing
cld    ; Clear DF (DF = 0): Auto-increment mode (left to right)
std    ; Set DF (DF = 1): Auto-decrement mode (right to left)
Q222
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 5๐Ÿท๏ธ 5.1. String InstructionsMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What are the Source Index (SI) and Destination Index (DI) registers in 8086 assembly language, and how do their default segment associations operate?
๐Ÿ’ป assembly Snippet
; Block copy using SI and DI registers
mov si, src_offset ; Source offset relative to DS
mov di, dst_offset ; Destination offset relative to ES
cld                ; Clear direction flag (auto-increment)
movsb              ; Copy byte from [DS:SI] to [ES:DI]