什么是获取执行周期
what is a fetch execution cycle
我想知道是否有人可以解释什么是提取执行周期以及涉及的步骤。
我一直在网上查找并获得类似
的定义
"An instruction cycle (sometimes called fetch-decode-execute cycle) is the basic operation cycle of a computer. It is the process by which a computer retrieves a program instruction from its memory, determines what actions the instruction requires, and carries out those actions."
但是有人可以进一步分解并解释执行提取执行周期所涉及的步骤吗?
我会尽力解释,但是我没有所有正确的英文术语,我认为这与操作指针有关。
每个程序在执行时都有状态在 CPU 的注册表中,这意味着调度程序不处于挂起状态。存储的值之一是操作指针的当前值。该指针包含下一个要执行的操作在 RAM 中的内存地址。
所以计算机读取那个值,用他的"memory bus"(可能不是正确的术语)从内存中获取要执行的操作,然后执行它。
然后操作指针将包含下一个要执行的操作,如果操作是移动操作指针,则为下一个或另一个。
请注意,"operation" 只是内存中的原始值,cpu 将其转换为 "physical"/"logical" 操作。
我想知道是否有人可以解释什么是提取执行周期以及涉及的步骤。
我一直在网上查找并获得类似
的定义"An instruction cycle (sometimes called fetch-decode-execute cycle) is the basic operation cycle of a computer. It is the process by which a computer retrieves a program instruction from its memory, determines what actions the instruction requires, and carries out those actions."
但是有人可以进一步分解并解释执行提取执行周期所涉及的步骤吗?
我会尽力解释,但是我没有所有正确的英文术语,我认为这与操作指针有关。
每个程序在执行时都有状态在 CPU 的注册表中,这意味着调度程序不处于挂起状态。存储的值之一是操作指针的当前值。该指针包含下一个要执行的操作在 RAM 中的内存地址。
所以计算机读取那个值,用他的"memory bus"(可能不是正确的术语)从内存中获取要执行的操作,然后执行它。
然后操作指针将包含下一个要执行的操作,如果操作是移动操作指针,则为下一个或另一个。
请注意,"operation" 只是内存中的原始值,cpu 将其转换为 "physical"/"logical" 操作。