MICROPROCESSOR AND MICROCONTROLLER

MICROPROCESSOR 8086

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What steps are followed when we need to turn on any timer?
A
Load the count, start the timer, keep monitoring, stop the timer
B
Load TMOD, load the count, start the timer, keep monitoring, stop the timer
C
Start the timer, keep monitoring, stop the timer
D
Load TMOD, keep monitoring, stop the timer
Explanation: 

Detailed explanation-1: -Explanation: When any timer is to turn on, then firstly we have to load the TMOD register and the count. Then the timer is to get started. After then, we need to monitor the timer properly and then when the roll over condition arises then the timer is to be stopped.

Detailed explanation-2: -TMOD is an 8-bit register used to set timer mode of timer0 and timer1. Bit 7, 3 – GATE: 1 = Enable Timer/Counter only when the INT0/INT1 pin is high and TR0/TR1 is set.

Detailed explanation-3: -TMOD register is used to set different timer’s or counter’s to their appropriate modes so that it tells the user that what mode is being used when operating any timer or counter.

Detailed explanation-4: -First we have to load the TMOD register value for ‘Timer0’ and ‘Timer1’in different modes. For example, if we want to operate timer1 in mode1 it must be configured as “TMOD=0x10”. 2. Whenever we operate the timer in mode 1, timer takes the maximum pulses of 65535.

Detailed explanation-5: -TMOD (Timer Mode) Register It is an 8-bit register in which the lower 4 bits are set aside for Timer 0 and the upper four bits for Timers. In each case, the lower 2 bits are used to set the timer mode in advance and the upper 2 bits are used to specify the location.

There is 1 question to complete.