Program Execution Process Analysis and Program Execution Process Analysis

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.