Question: Question 1: Find the time delay for the delay subroutine shown below if the system has an 8051 with frequency of 12 MHz: delay: mov

Question 1: Find the time delay for the delay subroutine shown below if the system has an 8051 with frequency of 12 MHz: delay: mov 13, #100 back: mov r2, #200 again: mov r5, #250 here: nop nop djnz r5, here djnz r2, again djnz r3, back ret Question 2: Find the number of times the following loop is performed: mov r6, #200 bck: mov r5, #100 here:djnz r5, here djnz r6, bck Question 3: a. Write a code for nested loop to perform an action 1000 times b. Find the machine cycle if the crystal frequency is 25MHz c. Find the system frequency if the machine cycle = 1.2 microseconds
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
