New answers tagged

0

The microprocessor has to read an I/O port that is connected to the mouse or track pad. The information is probably using more than one byte (8 bit) or one 'word' (32 bit), so the processor either read the same port many times or has other way to get the position of your fingers on the device. The information must be saved in RAM because the internal memory ...


4

This is a complex matter. To begin with, when you move your mouse, there is so much going on at once, that I cannot even begin to explain everything here. So, I will focus on the most fundamental thing: How does the computer actually compute? As you are probably familiar with, computers have memory called RAM, and a CPU that is able to execute "commands&...


1

In a processor that would nowadays be considered simple, you need two numbers for an instruction: what is the total execution time (for example 4 for load) and how long you need to wait before another independent operation can be issued - it seems that someone assumed 1 cycle between instructions for load. A different processor might only allow a load every ...


0

In part a same processor is assumed, and 2 compilers are used. In part b, 2 processors with different clock frequency is used, since the execution times for both processors are equal but the CPIs and dynamic instruction counts are unequal. The CPI for both processors is the same as the CPI from part a because the same compilers were used and the same ...


Top 50 recent answers are included