[lkml]   [2003]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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

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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.046 / U:2.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site