Find the size of the delay of the code snipped below if the crystal frequency is
ID: 3761224 • Letter: F
Question
Find the size of the delay of the code snipped below if the crystal frequency is 8 MHZ.
MYREG EQU 0x08 ; use location 08 as counter
DELAY MOVLW 0xFF
MOVLW MYREG
AGAIN NOP
NOP
DECF MYREG, F
BNZ AGAIN
RETURN
Explanation / Answer
MYREG EQU 0x08 ; use location 08 as counter
DELAY MOVLW 0xFF
MOVLW MYREG
AGAIN NOP
NOP
DECF MYREG, F
BNZ AGAIN
RETURN
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.