zoukankan      html  css  js  c++  java
  • [转]ARM Pipeline

    Add r0, PC, # g_oalAddressTable - (+ 8) instruction,

    a lot of people had cprogramdev.com Forum asked,

    I answered,

    and now actually in my development board technical support group,

    also asked, and looks like he does not understand how to say.

    In fact, he is caught in a dead end, have to think about their thinking.

    In fact, this is agreed in ARM ARM with this pipeline to do is very scientific,

    just like our real factory assembly line mode to improve efficiency.

    Well, here is ARM7/ARM9/ARM11 or even is the s5pv210 are in line with the wording of the title.

    The reason is as follows:

    R15 (PC) always points to the "fetch" command,

    instead of pointing to "perform" instruction or "decoding" command.

    In general, it is the habit of the contract,

    "the instruction being executed as a reference point called the first instruction,

    the PC always points to the third instruction.

    When ARM state, each instruction is 4 bytes long,

    so the PC always points to the address of the instruction plus 8 bytes of address:

    PC = current program execution location +8;

  • 相关阅读:
    centos 部署.NET CORE
    nginx 负载均衡
    graylog centos7 部署
    springboot 2.x centos 7.0 部署
    HashMap源代码阅读理解
    服务器安装redis
    java ---- gradle
    uboot-makefile总览
    makeFile
    Spring 推断构造方法
  • 原文地址:https://www.cnblogs.com/Proteas/p/3161855.html
Copyright © 2011-2022 走看看