Re: A86: nop


[Prev][Next][Index][Thread]

Re: A86: nop




I think the nop instruction is used to 'waste time.'  If you need to
slow something down you can put a bunch of nops in it.  I think it is
used like that when communicating with the keyboard port; like the port
is slower than the processor so you need to throw in some time-wasters.

>Cheetah17@aol.com wrote:
> 
>    Ok, I have seen this in various programs and stuff, but what exactly is the
> nop command used for? Why would you want to perform no operation?
>    And why would you put something like nop \ nop \ nop \ nop in? What's wrong
> with just one?
> 
> --Adam Newhouse
>   Cheetah17@aol.com
>   http://come.to/the.cheetahs.den


References: