Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How many times will MSDelay be called in the following program? Void mam (votd)

ID: 3770735 • Letter: H

Question

How many times will MSDelay be called in the following program? Void mam (votd) 6. The job of the TMOD register is to When is the timer flag raised in the 8051 timer for Mode 1? 7. Which of the following does not affect a timer delay written in an 8051 C program? When the value in the timing register changes from OOH to FFH When the value in the timing register changes from FFH to 00H When the value in the timing register changes from FFFFH to 0000H When the value in the timing register changes from OOOOH to FFFFH

Explanation / Answer

5. Answer is A
MSDelay() will be called 15000 times for z values ranging from 0 to 14999

6. Answer is C
The job of the TMOD register is to Set the timer operating mode

7. Answer is D
C dtat type does not affect a timer delay

8. Answer is C
The timer flag is raised in the 8051 timer for mode 1 when the value in the timing register changes from FFFFH to 0000H. Timing registr for mode 1 is a 16 bit register.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote