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

Discussion

The control word of ‘0B5H’ of 8253 indicates that the following counter is selected

  • A.Counter 0
  • B.Counter 1
  • C.Counter 2
  • D.Counter 3

Answer: C

The control word 0B5H of the 8253 selects counter 2, option (C). In binary 0B5H is 1011 0101. The two most significant bits, D7 D6, select the counter: 00 for counter 0, 01 for counter 1 and 10 for counter 2, and here they are 10. The next two bits, D5 D4 = 11, say that the low byte and then the high byte are read or loaded, the bits D3 D2 D1 = 010 select mode 2, and D0 = 1 selects BCD counting. The code 11 in D7 D6 is not a counter selection in the 8253, so counter 3, option (D), does not exist, and counters 0 and 1 in options (A) and (B) would need 00 and 01.

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

Post your comment

Please log in or register to post a comment.