Question: a) Determine the time delay for the delay subroutine if the system has an 8051 microcontroller with crystal frequency of 12MHz. Instructions DELAY: MOV R5,

a) Determine the time delay for the delay subroutine if the system has an 8051 microcontroller with crystal frequency of 12MHz. Instructions DELAY: MOV R5, #100 AGAIN: MOV R2, # 200 MOV R7, #40 HERE: NOP REPEAT: NOP DJNZ R7, REPEAT DJNZ R2. HERE DJNZ R5, AGAIN RET Macae Cycle 1 1 1 1 1 2 2 2 2 2 (7 Marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
