The Fetch-Execute Cycle in Transfer Notation
Expressed in register transfer notation:
(Increment the PC for next cycle at the same time)
The registers used above, besides the ones described earlier, are the Memory Address Register (MAR) and the Memory Data Register (MDR), which are used (at least conceptually) in the accessing of memory. Often, the MDR is expressed as the MBR (Memory Buffer Register).
Fetch and execute example (written in RTL - Register Transfer Language):
PC=0x5AF, AC=0x7EC3, M=0x932E, M=0x09AC, M=0x8B9F.
T0 : AR = 0x5AF (PC)
T1 : IR = 0x932E (M), PC=0x5BO
T2 : DECODE = ADD opCode 0x932E, AR=0x32E, I=1. (Indirect instruction)
T3 : AR = 0x9AC (M)
T4 : DR = 0x8B9F
T5 : AC = 0x8B9F + 0x7EC3 = 0x0A62, E = 1 (carry out), SC = 0
Summary: this example is for an ADD Instruction which made Indirect where:
T0-T1 is the Fetch operation.
T2 is the operation code Decode.
T3 Indirect Memory reference
T4-T5 Execute ADD operation
Read more about this topic: Instruction Cycle
Famous quotes containing the words cycle and/or transfer:
“The lifelong process of caregiving, is the ultimate link between caregivers of all ages. You and I are not just in a phase we will outgrow. This is lifebirth, death, and everything in between.... The care continuum is the cycle of life turning full circle in each of our lives. And what we learn when we spoon-feed our babies will echo in our ears as we feed our parents. The point is not to be done. The point is to be ready to do again.”
—Paula C. Lowe (20th century)
“I have proceeded ... to prevent the lapse from ... the point of blending between wakefulness and sleep.... Not ... that I can render the point more than a pointbut that I can startle myself ... into wakefulnessand thus transfer the point ... into the realm of Memoryconvey its impressions,... to a situation where ... I can survey them with the eye of analysis.”
—Edgar Allan Poe (18091849)