Speed of IN, OUT, MOV; clock ticks, time
Posted: Fri Aug 24, 2012 7:39 am
Hi all, I'm trying to understand something about PCs and OSes and this seems the right place to solve misgivings I'm left with after browsing the web.
http://www.penguin.cz/~literakl/intel/i.html#IN
http://www.penguin.cz/~literakl/intel/o.html#OUT
The number of clocks it takes to do these instructions seems predefined/unchangeable/fixed.
But is the actual time different, depending on the device speed?
Or through the use of buffers and stuff the time for these operations never changes?
And what about the MOV instruction when reading/writing from/to RAM? To get the actual nanoseconds (or whatever) for that instruction should I add the fixed time for that instruction to the time needed to access ram, or is that time somehow included in the "clocks" value reported by these pages above because of cache and/or other tricks?
Sorry for the big confusion. ^ ^
http://www.penguin.cz/~literakl/intel/i.html#IN
http://www.penguin.cz/~literakl/intel/o.html#OUT
The number of clocks it takes to do these instructions seems predefined/unchangeable/fixed.
But is the actual time different, depending on the device speed?
Or through the use of buffers and stuff the time for these operations never changes?
And what about the MOV instruction when reading/writing from/to RAM? To get the actual nanoseconds (or whatever) for that instruction should I add the fixed time for that instruction to the time needed to access ram, or is that time somehow included in the "clocks" value reported by these pages above because of cache and/or other tricks?
Sorry for the big confusion. ^ ^