2 // @
(#) delay.s 1.5 11/5/92
5 // GROMACS
- Groningen Machine for Chemical Simulation
6 // Copyright
(c
) 1990, 1991, 1992, Groningen University
8 // Delay routine for the SPC-i860 by
A. Sijbers
, (c
) 1991,1992
10 // General description
:
12 // The routine delay
(ms
) delays for the number of milli seconds
, specified
13 // in the argument. This routine is written in assembler to
be independent
14 // of compiler options
and optimalisations. Caching effects are ignored.
18 // extern void delay
(int ms
)
19 // Delays for ms milli seconds.
24 // extern void delay
(int ms
)
25 // delays for ms milli seconds.
26 // extern void delay01
(int ms01
)
27 // delays for ms
0.01 milli seconds.
33 MS_LOOP
= 6666 // Experimental value for loop count
,
34 // accuracy
: 1 percent
37 adds
1,r0,r18 // decrement
52 MS01_LOOP
= 66 // Experimental value for loop count
,
53 // accuracy
: 1 percent
56 adds
1,r0,r18 // decrement