How would i determine how long it takes to complete an instruction?
for the below function i can pass an unsigned char "count" so i can adjust the delay ….so lets say I pass 1 how long would it take to complete both for loops especially the second where j exceeds 112 and exits the for loop ?
Code:void delay(unsigned int count) { int i,j; for(i=0;i<count;i++) for(j=0;j<112;j++); }