7 Using Assembly Language answer the following questions 7 W

#7 Using Assembly Language answer the following questions

7. Write a program that generate a one second delay.

Solution

The program shown below produces a delay of around 1 second. In this program subroutine for delaying 1mS (DELAY) is called 4 times back to back and the entire cycle is repeated 250 times. As result, a delay of 4 x 1mS x 250 = 1000mS = 1 second is produced.

#7 Using Assembly Language answer the following questions 7. Write a program that generate a one second delay. SolutionThe program shown below produces a delay

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site