Re: Slow this puppy down
- From: Robert Redelmeier <redelm@xxxxxxxxxxxxxxx>
- Date: Tue, 22 May 2007 06:28:38 GMT
HandyMan <luke77561@xxxxxxxxx> wrote in part:
I don't recall seeing HLT used in much code I have seen in
the past. Maybe in some TSR code ?
I wrote a pwoersavings TSR with HLT. Otherwise, it is
probably the _least_ coded instruction. Most OSes have
precisely _one_ coded (in the idle thread), and it is
a priviliged instruction that faults in usercode.
OTOH, it is probably the most executed instruction,
certainly on user PCs. All modern OSes idle at HLT
to activate CPU hardeward powersavings (when enabled).
-- Robert
.
- Follow-Ups:
- Re: Slow this puppy down
- From: HandyMan
- Re: Slow this puppy down
- References:
- Slow this puppy down
- From: HandyMan
- Re: Slow this puppy down
- From: [Jongware]
- Re: Slow this puppy down
- From: [Jongware]
- Re: Slow this puppy down
- From: HandyMan
- Re: Slow this puppy down
- From: Robert Redelmeier
- Re: Slow this puppy down
- From: HandyMan
- Slow this puppy down
- Prev by Date: Re: URGENT
- Next by Date: Re: NTVDM and TCP/IP using assembler
- Previous by thread: Re: Slow this puppy down
- Next by thread: Re: Slow this puppy down
- Index(es):
Relevant Pages
|