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


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/

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