An instruction that transfers control to a target label unconditionally, regardless of the state of processor flags, is called a(n) __________.
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 201 โ 210 of 261 Questions
Page 21 of 27
When comparing two values via 'CMP DEST, SRC', if the result of the subtraction (DEST - SRC) is zero, the Zero Flag is set (ZF = 1). What does this indicate about the operands?
When subtracting an unsigned source operand from an unsigned destination operand where DEST is smaller than SRC (DEST < SRC), a borrow is generated. Which flag is set?
After subtracting unsigned operands (CMP DEST, SRC), if the resulting flags satisfy 'ZF = 1 OR CF = 1', what relationship holds between DEST and SRC?
After subtracting unsigned operands (CMP DEST, SRC), if the resulting flags satisfy 'ZF = 0 AND CF = 0', what relationship holds between DEST and SRC?
After subtracting unsigned operands (CMP DEST, SRC), if the Carry Flag is cleared (CF = 0), what relationship holds between DEST and SRC?
Which conditional jump instruction is taken if the previous arithmetic/logic operation produced zero, or after a CMP instruction if both operands were equal?
Which conditional jump instruction is taken after a CMP instruction if the unsigned destination operand is below or equal to the unsigned source operand?
Numbers of arbitrary bit-width (e.g., 32-bit or 64-bit) can be added on a 16-bit processor using a proper combination of which instructions?
Analogous to multi-word addition with carry (ADC), which instruction is used to perform multi-word subtraction with borrow?