Question: Problem 3 . ( 1 0 points ) How long will the following codes take to run with an 8 MHZ clock: a . Program

Problem 3.(10 points)
How long will the following codes take to run with an 8MHZ clock:
a. Program source code1:
1: CALL WAIT
.......
2: WAIT: MOVLW d4
3: MOVWF COUNT
4: LOOP: DECFSZ COUNT, 1
5: GOTO LOOP
RETURN
________________________________________________________________________
b. Program source code2:
1: A: MOVLW d3
2: MOVWF COUNT
3: NXT: DECFSZ COUNT, F
4: GOTO NXT
B: ...
________________________________________________________________________

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 Programming Questions!