HLT

HLT

In computer science and more specifically the x86 architecture, HLT is an assembly language instruction which halts the CPU until the next external interrupt is fired. [cite web |url=http://developer.intel.com/design/pentiumii/manuals/243191.htm|title=Intel Architecture Software Developer's Manual, Volume 2: Instruction Set Reference Manual|accessdate=2007-07-13] This interrupt usually comes from the clock. The HLT instruction is run when an operating system enters its idle loop and there is no immediate work to be done. In Windows NT for example, this instruction is run in the 'System Idle Process'.

HLT machine instruction

Almost every reasonably modern processor instruction set includes an instruction which halts the processor until more work needs to be done. In interrupt driven processors this instruction halts the CPU until an external interrupt is fired. On most architectures, executing such an instruction allows the processor to significantly reduce its power usage and heat output, which is why it is commonly used instead of busy waiting.

Everyday usage

Since issuing the HLT instruction requires ring 0 access, it can only be run by privileged system software, such as the kernel. Because of this, it is often best practice in application programming to use the API provided for that purpose by the operating system when no more work can be done. This allows the kernel to decide if other processes are runnable; if not, it will normally issue the HLT instruction to cut power usage

ee also

*Halt and Catch Fire
*Idle task
*X86
*Computer architecture
*Instruction set

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • HLT — Die Abkürzung HLT steht für: halt – ein spezieller Befehl für Hauptprozessoren, siehe auch Leerlaufprozess Heilige der Letzten Tage, siehe Kirche Jesu Christi der Heiligen der Letzten Tage Hessischer Landkreistag – ein politischer Verbande in… …   Deutsch Wikipedia

  • HLT — kalbų inžinerija statusas T sritis informatika apibrėžtis Rašytinės ir šnekamosios kalbos žinių panaudojimas kuriant kalbos ir šnekos atpažinimo, analizės, sintezės ir vertimo kompiuterines priemones. atitikmenys: angl. HLT; human language… …   Enciklopedinis kompiuterijos žodynas

  • HLT-Kirche — Der Salt Lake Tempel in Salt Lake City, Utah Die Kirche Jesu Christi der Heiligen der Letzten Tage (The Church of Jesus Christ of Latter day Saints) ist eine christliche Glaubensgemeinschaft. In den USA gilt sie mit knapp 2 % der Bevölkerung als… …   Deutsch Wikipedia

  • HLT — Halt (Computing » Assembly) ** Hilton Hotels Corporation (Business » NYSE Symbols) * Hair Loss Talk (Medical » Hospitals) * Hamilton, Victoria, Australia (Regional » Airport Codes) …   Abbreviations dictionary

  • HLT — heart lung transplantation; high L leucine transport; high level term [MedDRA]; human lipotropin; human lymphocyte transformation …   Medical dictionary

  • HLT — ( highly leveraged transaction) Bank loan to a highly leveraged firm. Bloomberg Financial Dictionary …   Financial and business terms

  • HLT — • Halt (TLA) • Hamilton, Australia internationale Flughafen Kennung …   Acronyms

  • hlt — ISO 639 3 Code of Language ISO 639 2/B Code : ISO 639 2/T Code : ISO 639 1 Code : Scope : Individual Language Type : Living Language Name : Nga La …   Names of Languages ISO 639-3

  • HLT — [1] Halt (TLA) [2] Hamilton, Australia internationale Fughafen Kennung …   Acronyms von A bis Z

  • HLT — highly leveraged transaction сделка ( операция) с высокой долей кредита (заимствованных средств) …   Финансово-инвестиционный толковый словарь

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”