Using assembly NOP for accurate code timing...

One trap can be interrupts may effect times (may not be in this case though).
Turn interrupts off, then do nops, then turn interrupts on.
CLI
nop
.
.
.
nop
SEI