什么是“bank'ing寄存器是什么意思? [英] What does 'bank'ing a register mean?
问题描述
在维基百科上阅读ARM体系结构,发现下面的语句:
寄存器R0-R7可在所有CPU模式是相同的;他们是永远不会
存入银行。
R13和R14跨除了系统所有特权的CPU模式编组
模式。
块引用>什么是银行一个寄存器是什么意思?
解决方案
注册银行指的是在同一个地址提供一个寄存器的多个副本。
块引用>从手臂的文档
的术语是指对,并不是所有的寄存器可以一次看到的问题的解决方案。
有每个处理器模式都有一个不同的寄存器组。编组的寄存器给快速上下文切换处理处理器异常和特权操作。
块引用>如果您寻找一个更加理论推理,我建议这纸。结果
编辑:一个比我更深给出答复<一个href=\"http://electronics.stackexchange.com/questions/102742/what-does-banking-mean-when-applied-to-registers/102743#102743\">hereReading 'ARM Architecture' on Wikipedia and found the following statement:
Registers R0-R7 are the same across all CPU modes; they are never banked.
R13 and R14 are banked across all privileged CPU modes except system mode.
What does banking a register mean?
解决方案Register banking refers to providing multiple copies of a register at the same address.
Taken from section 1.4.6 of the arm docs
The term is referring to a solution for the problem that not all registers can be seen at once.
There is a different register bank for each processor mode. The banked registers give rapid context switching for dealing with processor exceptions and privileged operations.
If your looking for a more theoretical reasoning, I recommend this paper.
Edit: A much deeper answer than mine is given here这篇关于什么是“bank'ing寄存器是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!