I ran into this ASM code to do very short delays:
static void __inline__ brief_pause( register unsigned int n )
{
__asm__ __volatile__ (
"1: \n"
" dec %[n] \n"
" jne 1b \n" : [n] "+r"(n)
);
}
I am not familiar with ASM so I need help on interpreting on exactly how long this "brief pause" is in regards to int n. Thanks!