How many bits is a WORD and is that constant over different architectures?

后端 未结 9 923
清歌不尽
清歌不尽 2021-02-02 13:37

Is a machine WORD always the same or does it depend on the machine architecture? And is the meaning of the word WORD context sensitive or generally applicable?

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-02 14:36

    A "word" in small letters depends on the architecture.

    A "WORD" in capital letters, as defined in Windows SDK, is 16 bits.

    Similarly: "DWORD" - (double word) 32 bits. "QWORD" ... 64 bits.

提交回复
热议问题