English 中文(简体)
16和32条轨道的名称
原标题:The name of 16 and 32 bits

8 bits is called "byte". How is 16 bits called? "Short"? "Word"?

大约32个轨道是什么? 我知道“int”是万国邮联的独立,我对普遍适用的名称感兴趣。

最佳回答

byte是计算机可与计算机合作的最小单位。 “C”语言将<条码>定义为“星号”,有<条码>CHAR_BIT/code>。 在大多数系统中,只有8个轨道。

另一方面,“word通常是万国邮联通常处理的价值大小。 大部分时间是普通用途登记册的规模。 这一定义的问题,是老幼。

例如,管理系统Windows WORD数据类型在16倍CPU成为规范的早期被重新定义。 当32倍的CPU四舍五入时,该定义保持不变,而32倍的星群成为。 现在,我们有64-bitQWORD

除了“普遍性”之外,在此问题上有几个不同之处:

Windows /a>:

  • BYTE - 8 bits, unsigned
  • WORD - 16 bits, unsigned
  • DWORD - 32 bits, unsigned
  • QWORD - 64 bits, unsigned

http://www.delorie.com/gnu/docs/gdb/gdb_56.html>rel=“noreferer”>

  • Byte
  • Halfword (two bytes).
  • Word (four bytes).
  • Giant words (eight bytes).

<stdint.h>:

  • uint8_t - 8 bits, unsigned
  • uint16_t - 16 bits, unsigned
  • uint32_t - 32 bits, unsigned
  • uint64_t - 64 bits, unsigned
  • uintptr_t - pointer-sized integer, unsigned

(签名类型也存在)

如果你试图根据特定数据类型的规模(例如,你重新实施网络协议)来书写便携式代码,always <>/strong> 的使用<stdint.h>

问题回答

16个或32个衡量单位没有通用名称。

该词用来描述一个方案或操作系统在某一时间处理的比额。 因此,在16倍的万国邮联中,字长为16倍。 在32倍的万国邮联中,字长为32倍。 我还认为,这个词没有什么灵活性,因此,如果我写出一个方案,在10个字眼中进行所有处理,我可以把这10个字眼作为字眼。

简言之,它不是计算机记忆测量单位。 确实,只是用于储存绝缘数字的数据类型(即数字,其数字为零)。 因此,如果你找到一种办法,以你的方案拟订语言仅使用2比特(或不管怎样)进行分类,那就算不上。

<代码>short,wordint均取决于汇编者和/或结构。

  • int is a datatype and is usually 32-bit on desktop 32-bit or 64-bit systems. I don t think it s ever larger than the register size of the underlying hardware, so it should always be a fast (and usually large enough) datatype for common uses.
  • short may be of smaller size then int, that s all you know. In practice, they re usually 16-bit, but you cannot depend on it.
  • word is not a datatype, it rather denotes the natural register size of the underlying hardware.

And regarding the names of 16 or 32 bits, there aren t any. There is no reason to label them.

我用的是逐字、字和长字耳。 但正如其他人提到的那样,这取决于你正在工作的本土结构。

他们叫2个 by,4个 by

16和32条轨道没有任何通用术语。 一字的大小取决于机器。

(11年之后......)

WikiPedia在Units of Information page,包括16-bit volume的“doublet”和“chomp”,以及32-和64-bit的“quadlet”和“octlet”。

值得注意的是,这些术语中有许多来自制造商的文件或标准组织(例如“EEE标准,用于32-bit Microprocessor Building”,其中界定了双倍、零件、微妙和热点。

值得注意的是,其中一些术语在bytes<>em>上而不是在轨上作了具体规定,因此在技术上仍然不准确,因为其他许多答复提醒人们注意。

我特别喜欢1-、2-和3个参数的“专家”、“专家”和“组合”。 我不得不努力将这些人员纳入我的谈话......





相关问题
vectors vs. vector graphics

What (if any) is the relationship between vectors used in programming languages (e.g. arrays) and vector graphics? Why do they share the term vector? Does it represent some analogous aspect of their ...

MVC and Property Terminology in Objective-C

I am having a problem with terminology I think. Is a ViewController the Controller portion of MVC? Or is it not the same thing. Is this combining the VC of MVC into one file? Properties like ....

Origin of "map" in Computer Science

In computer science, there are two definitions of the word map. The first is as an associative array, a type of container that maps values of one type to values of another type. An example of this is ...

Definition of the word "patch"

Personally, I use the word "patch" as the software equivalent of a symptomatic treatment, which makes a patch a quick-and-dirty bugfix. However, I m not sure this is correct, because I often see it is ...

What is Facet in JavaEE?

I wonder not only what is Facet but also what is Facet in physical level (as I understand it s not a separate jar, but what?)? I also wonder how can it affect my application after deploying. I ll ...

What is the meaning of "POSIX"?

What is POSIX? I have read the Wikipedia article and I read it every time I encounter the term. The fact is that I never really understood what it is. Can anyone please explain it to me by explaining ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...