jakeselectronics
Member
I am trying to work out how many instruction cycles a subroutine takes.
It has a lot of loops and goes back and foward and would drive me insane couning each cycle.
Is there an easy way to work out how many insctuction cycles a routine takes?
Like a program for example?
Can you do it in MPLAB?
as in paste a section of code in, get it to run it, and it counts each cycle?
It has a lot of loops and goes back and foward and would drive me insane couning each cycle.
Is there an easy way to work out how many insctuction cycles a routine takes?
Like a program for example?
Can you do it in MPLAB?
as in paste a section of code in, get it to run it, and it counts each cycle?