Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 22 Jan 2003 07:35:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 22 Jan 2003 07:35:01 -0500 Received: from chaos.analogic.com ([204.178.40.224]:60046 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id ; Wed, 22 Jan 2003 07:35:01 -0500 Date: Wed, 22 Jan 2003 07:45:36 -0500 (EST) From: "Richard B. Johnson" Reply-To: root@chaos.analogic.com To: Electroniks New cc: linux-kernel@vger.kernel.org Subject: Re: sleep in asm In-Reply-To: <20030122113050.65639.qmail@web14707.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/