[an error occurred while processing this directive]
|
30 void delay (char ticks)
\ delay:
31 {
32 foo=mytimer;
\ 00000000 .... LDI R30, LOW(mytimer)
\ 00000002 .... LDI R31, (mytimer) >> 8
\ 00000004 8110 LD R17, Z
\ 00000006 8311 STD Z+1, R17
33 foo+=ticks;
\ 00000008 0F10 ADD R17, R16
\ 0000000A 8311 STD Z+1, R17
34 while (foo < mytimer);
\ ??delay_0:
\ 0000000C 8101 LDD R16, Z+1
\ 0000000E 8110 LD R17, Z
\ 00000010 1701 CP R16, R17
\ 00000012 F3E0 BRCS ??delay_0
35
36 }
\ 00000014 9508 RET