Branching
Lecture 8: Branching
261 Questions205 MCQs51 Short Questions5 Long Questions
Showing 1 โ 10 of 261 Questions
Page 1 of 27
Q1๐ Short Q๐ Lec 3Easy๐RepeatedโญHigh-Yield๐กConceptual
When multiplying two 8-bit numbers in x86 assembly language, how many bits will the resulting product contain?
Q2๐ง Long Problem๐ Lec 3Medium๐RepeatedโญHigh-Yield๐กConceptual
Write the algorithm for the Bubble Sort sorting technique in your own words.
Q3๐ Short Q๐ Lec 3Easy๐RepeatedโญHigh-Yield๐กConceptual
Provide valid x86 assembly instruction(s) to divide the unsigned value in the AX register by 8.
Q4๐ Short Q๐ Lec 3Medium๐RepeatedโญHigh-Yield๐กConceptual
Calculate the new values of registers AX and DX after executing the instruction 'DIV BX' when DX = 0x0000, AX = 0x0007, and BX = 0x0002, or state if an overflow occurs.
Q5๐ Short Q๐ Lec 3Medium๐RepeatedโญHigh-Yield๐กConceptual
Calculate the new values of registers AX and DX after executing the instruction 'DIV BX' when DX = 0x0000, AX = 0xFFFF, and BX = 0x0010, or state if an overflow occurs.
Q6๐ Short Q๐ Lec 3Hard๐RepeatedโญHigh-Yield๐กConceptual
Calculate the new values of registers AX and DX after executing the instruction 'IDIV BX' when DX = 0xFFFF, AX = 0xFFFC, and BX = 0x0003, or state if an overflow occurs.
Q7๐ Short Q๐ Lec 3Hard๐RepeatedโญHigh-Yield๐กConceptual
Calculate the new values of registers AX and DX after executing the instruction 'DIV BX' when DX = 0xFFFF, AX = 0xFFFC, and BX = 0x0003, or state if an overflow occurs.
Q8๐ Short Q๐ Lec 3Easy๐RepeatedโญHigh-Yield๐กConceptual
The MOVZX (Move with Zero-Extend) instruction is strictly used with ________ integers.
Q9๐ Short Q๐ Lec 3Medium๐RepeatedโญHigh-Yield๐กConceptual
Consider the following code segment:
mov bl, 0x9B
movsx cx, bl
What is the resulting 16-bit hexadecimal value stored in the CX register?
Q10๐ Short Q๐ Lec 3Easy๐RepeatedโญHigh-Yield๐กConceptual
Which flag in the FLAGS register is NOT affected by the execution of INC and DEC instructions?