18.4) Referring to Figure18.29, with Analog Input Mode = 0, Read TRISA = 0, Read PORTA = 0:
a) If all Q outputs are 0, what is the state on the I/O pin (high, low, indeterminate)?
b) If Data = 1, Write PORTA = 0, and Write TRISA pulses high, then low, what will happen to the state
of the I/O pin?
c) From the conditions left after part b), if Data = 1, Write TRISA = 0, and Write PORTA pulses high,
then low, what will happen to the state of the I/O pin?
d) From the conditions left after part c), if Data = 0, Write PORTA = 0, and Write TRISA pulses high,
then low, what will happen to the state of the I/O pin?
Figure 18.29 Figure for circuit in Problem 18.4.