What bit insertion occurs during a Shift Logical Right (`SHR`) operation?
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 21 โ 30 of 216 Questions
Page 3 of 22
Which status flag in the FLAGS register is evaluated by the conditional jump instructions `JC` (Jump if Carry) and `JNC` (Jump if No Carry)?
To divide a signed binary integer by 2 efficiently in assembly language, which shift instruction should be used?
In x86 assembly language, when does an Unconditional Jump instruction (`JMP`) execute its branching control transfer?
Which rotation operation moves every bit one position to the right, inserts the bit dropped from the rightmost position (LSB) into the leftmost position (MSB), and also copies that bit into the Carry Flag?
True or False: When executing `JA` (Jump if Above) after a `CMP` instruction, the jump is NOT taken if the unsigned destination operand is larger than the unsigned source operand.
True or False: The x86 assembly instructions `SHL` (Shift Logical Left) and `SAL` (Shift Arithmetic Left) perform identical bitwise operations.
When performing an unsigned subtraction where a larger source number is subtracted from a smaller destination number (`CMP DEST, SRC`), a borrow is required. Which status flag will be set?
Which shift operation inserts a zero into the leftmost position (MSB), shifts all bits one position to the right, and copies the exiting rightmost bit (LSB) into the Carry Flag?
Which conditional jump instruction is executed if the previous signed arithmetic operation resulted in an unexpected sign change, indicating an overflow condition (`OF = 1`)?