84.7k views
1 vote
A WHILE loop can be constructed with a CMP instruction at the bottom of the loop, followed by a conditional jump instruction.

a) true

b) false

User Klikster
by
5.7k points

1 Answer

6 votes

Answer:

false

Step-by-step explanation:

If the condition is false at the start, the contents of the loop should never be executed. If the CMP is at the end, you cannot prevent the code to run at least once. So this approach will work for a DO { ... } WHILE() loop, but not for a regular WHILE() { ... }

User Brutos
by
5.5k points