Which conditional jump is taken if the last arithmetic operation produced a result in its destination operand that has even parity (an even number of set 1-bits)?
Ch 03: Branching, Loops and Program Flow
Examines program control flow in assembly, flag register evaluation (ZF, CF, SF, OF), relative displacement jumps, implementing loops, and bubble sort sorting algorithms in assembly.
261 Questions261 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 261 Questions
Page 3 of 27
When a larger number is subtracted from a smaller number during unsigned subtraction, a borrow is required. Which status flag will be set?
In x86 assembly language, a FAR JUMP instruction is position relative. (True/False)
Which x86 stack instruction transfers the 16-bit word from the current top of the stack (addressed by SS:SP) into the destination operand and then increments the Stack Pointer (SP) by 2?
In x86 assembly language, a NEAR jump allows branching to any target offset location anywhere within the current code segment. (True/False)
The RET instruction does NOT pop the word at the top of the stack into the Instruction Pointer (IP), but merely increments SP by 2. (True/False)
The operations of placing items onto the stack and removing them from the stack are called PUSH and RET. (True/False)
The operation of PUSH for the instruction `PUSH AX` executes as `SP <- SP + 2` followed by `[SP] <- AX`. (True/False)
In standard C calling convention (cdecl), parameters pushed onto the stack for a subroutine call are cleared from the stack by the ________.
In x86 assembly language, what are the primary types of jump instructions available?