Machine-translated by Google. Questions are authored in English.
Top

Discussion

For using 8253 in counter mode from a initial value.

I. The control world for selection of counter is done.
II. The initial value will be kept in the counter before the selection of counter.
III. Selection of BCD mode is done.
IV. The initial value will be loaded to counter after the selection of counter.

  • A.I, III and IV are to be fulfilled.
  • B.I, II and III are to be fulfilled.
  • C.II, III and IV are to be fulfilled.
  • D.II, I and IV are to be fulfilled.

Answer: A

To use the 8253 timer in counter mode from an initial value, the programmer first writes a control word, which selects the counter, sets the operating mode and chooses binary or BCD counting, and only after that loads the initial count into the selected counter. So statements I, III and IV are the required steps: I, the control word for selecting the counter, III, the selection of BCD or binary mode, which is part of that word, and IV, loading the initial value after the counter is selected. Statement II is wrong, because the count cannot be loaded before the counter has been selected by the control word. The answer is that I, III and IV are to be fulfilled.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.