简体   繁体   English

ARM 处理器寄存器与字

[英]ARM Processor Register Vs Word

What's the difference between a register and a word?寄存器和单词有什么区别? As far as I know,据我所知,

  • 8 bits = 1 Byte, 32 Bits = 4 Bytes = 1 Word 8 位 = 1 字节,32 位 = 4 字节 = 1 个字
  • A register is 32 bit, which means size of 1 register = 1 Word一个寄存器是 32 位的,这意味着 1 个寄存器的大小 = 1 个字
  • Then probably, the processor having a total of 16 registers should have a total of 16 X 1 = 16 words.那么大概有 16 个寄存器的处理器总共应该有 16 X 1 = 16 个字。
  • Then what does 2^30 memory words mean in an ARM Processor?那么2^30 个内存字在 ARM 处理器中是什么意思呢? ARM Operands ARM 操作数
  • Also, is this 2^30 words concept somehow related with the 32-Bit or 64-Bit computer we use ?另外,这个2^30 字的概念是否与我们使用的 32 位或 64 位计算机有关

Can someone help me get this concept right?有人可以帮我理解这个概念吗? Thanks in advance!提前致谢!

Being a 32bit architecture, the addressing area is 2^32 = 4GB.作为 32 位架构,寻址区域为 2^32 = 4GB。
And since each word is 4 bytes long, the total area in word is 4GB/4 = 1G words (2^30)由于每个字的长度为 4 个字节,因此字的总面积为 4GB/4 = 1G 字 (2^30)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM