< previous page page_48 next page >

Page 48
Address arithmetic (or address generate) unit.
TLB (may be included in address arithmetic unit).
Instruction decoder.
Each time one of these units is accessed or employed, an instruction execution event occurs, which occupies one or more cycles.
Simple machines implement instruction execution serially one instruction at a time. Further, they serially use the functional units that the machine comprises. We call machines that serially execute instructions using functional units as defined by the instruction set well-mapped machines. The process of instruction execution for such machines usually consists of the following events and sub-events (assuming R/M machine):
d87111c01013bcda00bb8640fdff6754.gif
Instruction Fetch
d87111c01013bcda00bb8640fdff6754.gif
Generate a real instruction address from the value stored in the PC.
d87111c01013bcda00bb8640fdff6754.gif
Access the cache.
d87111c01013bcda00bb8640fdff6754.gif
Access memory if a cache miss occurs.
d87111c01013bcda00bb8640fdff6754.gif
Move the word fetched from the cache/memory (in the SR) to the IR.
d87111c01013bcda00bb8640fdff6754.gif
Instruction Decode
d87111c01013bcda00bb8640fdff6754.gif
Determine instruction type and addressing modes.
d87111c01013bcda00bb8640fdff6754.gif
Fetch register operands.
d87111c01013bcda00bb8640fdff6754.gif
Data Fetch
d87111c01013bcda00bb8640fdff6754.gif
Generate a real data address from the offset in the instruction plus base and/or index values.
d87111c01013bcda00bb8640fdff6754.gif
Access the cache.
d87111c01013bcda00bb8640fdff6754.gif
Access memory if a cache miss occurs.
d87111c01013bcda00bb8640fdff6754.gif
Execute
d87111c01013bcda00bb8640fdff6754.gif
Use ALU to operate on SR and other specified register.
d87111c01013bcda00bb8640fdff6754.gif
Update Registers
d87111c01013bcda00bb8640fdff6754.gif
Adjust PC to point to the next instruction.
d87111c01013bcda00bb8640fdff6754.gif
Store result of ALU operation in register.
Of course, many other events also might happen, but usually do not. All this is best understood by some examples.

 
< previous page page_48 next page >