caculating how many instructions pic32 dose each time round a loop.
Hi guys, i'm really new to programming and i'm writing a delay for an LED loop, i'm using the PIC32MZ2048EFH it has a clock speed of 200mHz. I have this code for a pic16 I did a while back:
int i, j;
for(j = 13; j == 0; j‐‐)
for(i = 65535; i == 0; i‐‐);
If the inner loop takes 0.79 seconds to complete, running that loop 13 times should create a delay of about 10 sections because the pic16 dose 12 instructions per each time around the loop and each instruction takes 1us.
now I want to workout how many instructions the pic32 dose each time around a loop to figure out what value I need in my loop so that it is 1 second each loop. can anyone help? thankyou in advance :)