Sorry I just keep asking the complicated questions Well when the hlt instruction is um executed will the cpu just:
Not increase the instruction pointer and therefore execute hlt until an interupt occurs, or
Actully turn off the cpu/put it in idle?
Cuz i heard thats what Vista does, well that and downclock the cpu when its not in use but I think thats asking a litle to much
The hlt instruction
Moderator:Moderators
Hey,
HLT does indeed temporally stop the processor. In other words, it is in an idle state until an interrupt happens to take it out of the idle state, or the NMI pin is activated.
No worries--That is what we are here forSorry I just keep asking the complicated questions
HLT does indeed temporally stop the processor. In other words, it is in an idle state until an interrupt happens to take it out of the idle state, or the NMI pin is activated.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
increase the instruction
Well when the hlt instruction is um executed will the cpu just:
Not increase the instruction pointer and therefore execute hlt until an interupt occurs, or
Actully turn off the cpu/put it in idle?
Not increase the instruction pointer and therefore execute hlt until an interupt occurs, or
Actully turn off the cpu/put it in idle?
HLT puts the processor into its HALT state. Only an enabled interrupt (Including NMI), debug exception, BINIT# signal, INIT# signal, or a RESET# signal can resume operation.Actully turn off the cpu/put it in idle?
If a processor supports hyperthreading, or this is a multi-processor system, only the logical processor that executes HLT will be halted. The other processors continue execution. The system software or executive would need to HLT all logical processors in order to put each logical processor into a HLT state.