Question: Microprocessor Systems and Interfacing For the following Problems 1-3, assume a 8-MHz crystal frequency is used. 1. What is the execution time required for the

Microprocessor Systems and Interfacing

 Microprocessor Systems and Interfacing For the following Problems 1-3, assume a

For the following Problems 1-3, assume a 8-MHz crystal frequency is used. 1. What is the execution time required for the following loop? (4 pts) LDX #20 ,2 cycles DELAY: DEX ;1 cycle BNE DELAY 24 (back)/2(down) cycle(s) 2. What is the number N in order to delay 4 milliseconds? (4 pts) LDX #N ;2 cycles DELAY: DEX ;1 cycle BNE DELAY ;4(back)/2(down) cycle(s) 3. What is the longest delay time by changing N? (4 pts) LDX #N 34 cycles DELAY: DEX ,2 cycle BNE DELAY :4 (back)/2(down) cycle(s) For the following Problems 1-3, assume a 8-MHz crystal frequency is used. 1. What is the execution time required for the following loop? (4 pts) LDX #20 ,2 cycles DELAY: DEX ;1 cycle BNE DELAY 24 (back)/2(down) cycle(s) 2. What is the number N in order to delay 4 milliseconds? (4 pts) LDX #N ;2 cycles DELAY: DEX ;1 cycle BNE DELAY ;4(back)/2(down) cycle(s) 3. What is the longest delay time by changing N? (4 pts) LDX #N 34 cycles DELAY: DEX ,2 cycle BNE DELAY :4 (back)/2(down) cycle(s)

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!