3. Trace (using a table) the following program with a table showing PC, ACC, A, B. The first line is an INP command. The user enters the following values \( 5,-2,0 \). (5 for the first INP, -2 the second time, 0 the third)
a. What does the program do? Think about what happens differently based on the value the user enters.
TOP INP
\[
\begin{array}{ll}
\text { JZR } & \text { DONE } \\
\text { JNG } & X \\
\text { LOD } & \text { A } \\
\text { ADD } & \text { ONE } \\
\text { STO } & \text { A } \\
\text { JMP } & \text { TOP }
\end{array}
\]
X LOD B
ADD ONE
STO B
JMP TOP
DONE STP
A DAT \( \theta \)
\( B \) DAT \( \theta \)
ONE DAT 1
Submit your completed lab to Brightspace. Due date set in Brightspace. No late submissions accepted.