Which type of shift operation is defined as: 'Inserts a zero from the left, moves every bit one position to the right, and copies the rightmost bit into the carry flag'?
Ch 06: Parameter Passing and Stack Frames
Detailed analysis of stack frame construction (push bp; mov bp, sp), accessing parameters via [bp+4], [bp+6], allocating local automatic variables via [bp-2], and stack cleanup conventions (cdecl vs stdcall).
216 Questions216 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 101 โ 110 of 216 Questions
Page 11 of 22
Which conditional jump instruction is taken if the last signed arithmetic operation produced an unexpected sign change (signed overflow, setting `OF = 1`)?
Which type of rotation operation is defined as: 'The carry flag is inserted from the left into the most significant bit, every bit moves one position to the right, and the rightmost bit is dropped into the carry flag'?
Which conditional jump instruction is taken if the last arithmetic operation produced a result with even parity (Parity Flag PF = 1)?
Which shift operation is illustrated by the diagram: `| 0 | --> | 1 | 1 | 0 | 1 | 0 | 0 | 0 | --> | C |`?
Which shift operation is illustrated by the diagram: `| C | <-- | 1 | 1 | 0 | 1 | 0 | 0 | 0 | <-- | 0 |`?
The `ADC` (Add with Carry) instruction operates on how many total operands (including explicit and implicit operands)?
When executing a subtraction or comparison instruction (`SUB` / `CMP`), if the Zero Flag is set (`ZF = 1`), what does this indicate regarding the destination and source operands?
An instruction that forces program execution to branch to a target address regardless of the state of processor flags is called a(n) __________.
When an unsigned source operand is subtracted from an unsigned destination operand and the destination is strictly smaller, a borrow is required. Which flag condition is set?