99
REVIEW QUESTIONS
3. In Example 7.5, what might be the maximum val-
ue of N if the program remains unchanged?
(a) FFH (b) 7FH
(c) 16H (d) None of these
4. In Example 7.5, what would happen if the fi rst
instruction of the program (MOV PSW, #00H) is
removed?
(a) No change
(b) Incorrect result
(c) Depends upon current bank
(d) None of these
5. The program in Example 7.6 would work properly
only if the value of N is
(a) odd (b) even
(c) any value (d) none of these
6. If all other parameters remain unchanged, what
might be the maximum value of N in Example 7.7?
(a) 10d (b) 14d
(c) 255d (d) None of these
7. An alternate method to calculate the sum of N nat-
ural numbers is
(a) 0.5*N*(N+1) (b) 0.5*N^2
(c) N*(N−1) (d) none of ...