Answer to Question #40116 in Assembler for yaseen zafar

Question #40116
FIND SIZE OF DELAY IF CRYSTAL FREQUENCY IS 4MHZ?

DELAY MOVLW 0XFF
MOVWF MYREG
AGAIN NOP
NOP
DECF MYREG,F
BNZ AGAIN
RETURN

PLEASE EXPLAIN HOW AND WHY TWO NOP USED HERE? AND EXPLAIN THIS OVERALL PROGRAM? I AM NEW TO ASSEMBLY LANGUAGE
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS