Program Execution Process Analysis and Program Execution Process Analysis
Program Execution Process:
For example, we want to execute the 3 + 2 program counter (PC) = command address command register (IR) = command accumulators in progress (AC) = The temporary storage body actually executes three commands, each of which is divided into two parts: the address fetch and the execution address fetch are the diagram of taking a command from the register and placing it in the upper left corner of the IR register, if the value in the PC register is 300, we will take a 300 instruction from the memory address of 1940 and put it into IR. A instruction consists of an operation code and an operand, and 1 in 1940 represents the operation code., 940 indicates that operand 1 is to put data from a memory into the AC register, that is, what operation should I do to put 940 of the data in the 0003 memory address into the AC register first, PC = 300 when running PC = 301PC will add 1 Welcome to exchange
Sina Blog: http://blog.sina.com.cn/u/2049150530
Csdn blog: http://blog.csdn.net/u011749143
Blog: http://www.cnblogs.com/sky-heaven/
Know: http://www.zhihu.com/people/zhang-bing-hua