[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] How to calculate delay time
From: |
Karsten Becker |
Subject: |
[avr-gcc-list] How to calculate delay time |
Date: |
Sat, 30 Mar 2002 19:12:07 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311 |
Hi,
If i want to perform a certain delay, how do i calculate the number of
iterations i need to do.
I mean, if i do
for (i=0;i<255;i++)
for (j=0;j<255;i++)
nop();
What times do i need to add to 255*255Cycles of Nop()?
BTW where can i find a human-readable version of the resulting asm-code?
Thanks in advance,
Karsten
avr-gcc-list at http://avr1.org
- [avr-gcc-list] How to calculate delay time,
Karsten Becker <=