计算机中的字长是什么意思? [英] What does it mean by word size in computer?

查看:92
本文介绍了计算机中的字长是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图了解单词 的含义,并且在Wiki中进行了查找,并且定义不明确。所以我的问题是字长 是什么?是数据总线,地址总线的长度吗?

I have tried to get a grasp of what "word" means and I have looked in the wiki and the definition is vague. So my question is what is "word size"? Is it the length of the data bus, address bus?

推荐答案

字长是指a处理的位数一次性使用计算机的CPU(通常为32位或64位)。数据总线的大小,指令的大小,地址的大小通常是字长的倍数。

"Word size" refers to the number of bits processed by a computer's CPU in one go (these days, typically 32 bits or 64 bits). Data bus size, instruction size, address size are usually multiples of the word size.

为了混淆,为了向后兼容,Microsoft Windows API将WORD定义为16位,DWORD为32位,QWORD为64位,与处理器无关。

Just to confuse matters, for backwards compatibility, Microsoft Windows API defines a WORD as being 16 bits, a DWORD as 32 bits and a QWORD as 64 bits, regardless of the processor.

这篇关于计算机中的字长是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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