指令访问和数据访问之间有什么区别 [英] what is difference between instruction access and data access

查看:191
本文介绍了指令访问和数据访问之间有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只学习了等式


  1. 所有访问权限=指令访问权限+数据访问权限

  2. read =指令访问+加载

  3. 写=指令访问+加载

我认为我是我不能完全理解指令访问和数据访问之间的区别
最奇怪的是,为什么读取包括指令访问。
有人可以解释吗??? :'-(

I think that I'm not fully understand the difference between 'instruction access' and 'data access' The most curious thing is that why 'read' include 'instrution access'. Could anybody explain this??? :'-(

推荐答案

处理器在执行此操作之前必须知道该做什么。
因此,指令访问就像在数据访问实际上是在获取数据并执行所需的操作时,知道要执行的操作以及源操作数和目标操作数。

The processor must know what to do before doing it. So, instruction access is like knowing what operation to do and knowing the source and destination operands while data access is actually fetching the data and performing the required operation.

在这里,读取表示您必须读取某些数据,但是处理器需要知道该操作已被读取,另外,它还需要知道读取的源,要知道此信息,它需要一个指令访问,然后处理器执行实际的读取,因此需要一个数据访问。适用于写操作。

Here, read means that you have to read some data, but the processor needs to know that the operation is read. Also, it needs to know the source of read. To know this information it takes one instruction access. Then the processor performs the actual read which takes one data access. Same is applicable for writes.

这篇关于指令访问和数据访问之间有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆