Messages in this thread | | | Date | Wed, 22 Jan 2003 07:45:36 -0500 (EST) | From | "Richard B. Johnson" <> | Subject | Re: sleep in asm |
| |
On Wed, 22 Jan 2003, Electroniks New wrote:
> Hi, > What is the equivalent of sleep in assembly. > I tried jmps and nops i even kept loops.for jumps > and nops but all in vain . > Does it make any difference if i am doing this real > mode instead of pmode ? doesnt the functions nop and > jmps do what they are supposed to do . 16000 nops > doesn't sleep for 1 sec. > > Any help would be appreciated.
hlt # Waits until the next interrupt
Cheers, Dick Johnson Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips). Why is the government concerned about the lunatic fringe? Think about it.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |