Difficulty: Easy
Correct Answer: False
Explanation:
Introduction / Context:
This question checks understanding of the 8051 conditional jump instruction JNZ (jump if A != 0) and how immediate moves affect the accumulator A.
Given Data / Assumptions:
Concept / Approach:
Because A is explicitly loaded with 1 before each JNZ, the zero condition is never met. Therefore, the branch is always taken, forming an infinite loop at STAT.
Step-by-Step Solution:
Verification / Alternative check:
Single-step in a simulator: the program counter toggles between the two instructions indefinitely.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing JNZ with conditional flags; on 8051, JNZ checks accumulator zero directly.
Final Answer:
False — the sequence loops forever.
Discussion & Comments