Question: You are given the following function containing a delay loop: Tan_1 decfsz COUNT, F; Inner loop goto Ten_1 decfsz COUNTH, F; Outerloop goto Ten_1 return

 You are given the following function containing a delay loop: Tan_1

You are given the following function containing a delay loop: Tan_1 decfsz COUNT, F; Inner loop goto Ten_1 decfsz COUNTH, F; Outerloop goto Ten_1 return If COUNTL is initially 100, COUNTH is initially 10, the clock frequency is 500 kHz, and each instruction takes 4 clock cycles, how long does the whole delay loop take? You must show your work for full credit. What are the maximum and minimum possible delays this function can generate? What initial values would COUNTL and COUNTH have in each case

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!