Branching

Lecture 8: Branching

261 Questions205 MCQs51 Short Questions5 Long Questions
Showing 211220 of 261 Questions
Page 22 of 27
Q211❓ MCQ📑 Lec 3Easy🔁RepeatedHigh-Yield💡Conceptual
Is the statement true or false: 'The JA (Jump if Above) instruction cannot execute after CMP if the unsigned destination operand is greater than the source operand'?
💻 assembly Snippet
cmp ax, bx
ja above_label
  1. A.True
  2. B.False
Q212❓ MCQ📑 Lec 3Medium🔁RepeatedHigh-Yield💡Conceptual
In 8088 assembly language architecture, conditional jump instructions can only perform which type of jump?
💻 assembly Snippet
jnz short_label
  1. A.Far jumps
  2. B.Short jumps (-128 to +127 bytes)
  3. C.Near jumps
  4. D.All of the given options
Q213📝 Short Q📑 Lec 3Easy🔁RepeatedHigh-Yield💡Conceptual
Write any two program control instructions used in x86 assembly language and briefly describe their functions.
💻 assembly Snippet
jmp label
call subroutine
Q214📝 Short Q📑 Lec 3Easy🔁RepeatedHigh-Yield💡Conceptual
What is the function of the assembly code snippet 'MOV CX, 0xFFFF' followed by 'LOOP $'? Write your answer in a single line.
💻 assembly Snippet
mov cx, 0xffff
loop $
Q215❓ MCQ📑 Lec 3Easy🔁RepeatedHigh-Yield💡Conceptual
What are the three fundamental types of jump instructions available in x86 assembly language?
💻 assembly Snippet
jmp short label
jmp near label
jmp far label
  1. A.Short, Near
  2. B.Short, Near, Far
  3. C.Near, Far
  4. D.Short, Far
Q216📝 Short Q📑 Lec 3Easy🔁RepeatedHigh-Yield💡Conceptual
Define a Short Jump instruction in x86 assembly language.
💻 assembly Snippet
jmp short target
Q217❓ MCQ📑 Lec 3EasyHigh-Yield💡Conceptual
A complete traversal over an array in sorting or comparison algorithms is called a single:
  1. A.Iteration
  2. B.Recursion
  3. C.Branch
  4. D.Subroutine
Q218❓ MCQ📑 Lec 3MediumHigh-Yield💡Conceptual
How many distinct types of address wraparound mechanisms occur in 8088 real mode system memory architecture?
  1. A.2
  2. B.3
  3. C.4
  4. D.5
Q219❓ MCQ📑 Lec 3Easy🔁RepeatedHigh-Yield💡Conceptual
All memory addressing mechanisms in the iAPX88 (8088) architecture compute and return a 16-bit offset value known as the:
💻 assembly Snippet
mov ax, [bx+si+4]
  1. A.Effective Address (EA)
  2. B.Physical Address
  3. C.Direct Address
  4. D.Segment Address
Q220❓ MCQ📑 Lec 3Easy🔁RepeatedHigh-Yield💡Conceptual
All memory addressing mechanisms in the iAPX88 (8088) architecture compute and return a 16-bit offset value called the:
💻 assembly Snippet
mov ax, [bx+si+5]
  1. A.Effective address
  2. B.Faulty address
  3. C.Indirect address
  4. D.Direct address