The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ic2 on July 20, 2005, 02:36:58 AM

Title: End-less loop
Post by: ic2 on July 20, 2005, 02:36:58 AM
Why do the HD run so fast when you run a end-less loop (no window program).  I did a simple back: xor eax, eax jump back.  I know it's h*ll on the processer but i thought programs were loaded to memory.  but this seen to be running from HD.  Do anyone understand whats this all about.  Thanks for any info.  I don't understand.
Title: Re: End-less loop
Post by: hutch-- on July 20, 2005, 03:04:00 AM
Can you make sense of this posting, there is no context for your comments.
Title: Re: End-less loop
Post by: ic2 on July 20, 2005, 04:28:17 AM
simple findwindow loop ... run hard drive fast... anyone can try that.
Title: Re: End-less loop
Post by: ic2 on July 20, 2005, 04:30:26 AM
Tried to post code for over a week but masmforum is not working.  must be my machine.  i don't know.  if no one understand forget it.  i get modem next week.
Title: Re: End-less loop
Post by: Bieb on July 20, 2005, 04:35:22 AM
I think what he's trying to say is that when he runs code with an endless loop in it, his HDD runs like crazy, and he's wondering why that happens.
Title: Re: End-less loop
Post by: Mark Jones on July 20, 2005, 01:12:54 PM
Sounds like some kind of memory/stack pooling issue and the PC is paging 'memory' to disk. Maybe. Of course, he could be using DOS for all we know... :P
Title: Re: End-less loop
Post by: ic2 on July 20, 2005, 03:38:08 PM
Win32 program.  not dos.  So this mean i got hardware problems.  Sorry and thanks everyone.