Hello,
I was just wondering if the hlt instruction would produce a blinking cursor at the command line until enter is pressed or if its use is not noticeable to the user. Google wasn't too helpful for the specifics of the instruction. Thanks!

Hello,
I was just wondering if the hlt instruction would produce a blinking cursor at the command line until enter is pressed or if its use is not noticeable to the user. Google wasn't too helpful for the specifics of the instruction. Thanks!

That would probably depend on how its initiated...

That would probably depend on how its initiated...

You really should consult the Intel/AMD manuals..they have very good explanations of each opcode....

HLT will save CS:IP or CS:EIP of instruction after hlt
and stop instruction execution until a external interrupt
or NMI is issued.
It puts the processor in a halt state.
HLT is a priviledged instruction in virtual 8086 mode,
and will have no effect in the Windows Console.

Edited 7 Years Ago by NotNull: n/a

This question has already been answered. Start a new discussion instead.