多少位是一个词,就是不断在不同的架构? [英] How many bits is a WORD and is that constant over different architectures?

查看:122
本文介绍了多少位是一个词,就是不断在不同的架构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是一台机器的的始终是相同的还是它依赖于机器架构?
而这个词的意思的的上下文敏感的或普遍适用?

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?

推荐答案

本机字的大小取决于系统的架构,同时也是操作系统是如何运行的应用程序。

The machine word size depends on the architecture, but also how the operating system is running the application.

在视窗64例如一个应用程序可以运行或者作为一个64位应用程序(具有64位mahine字),或者作为一个32位应用程序(具有32位计算机的字)。这样一个机器字的大小可以在同一台机器上,即使不同

In Windows x64 for example an application can be run either as a 64 bit application (having a 64 bit mahine word), or as a 32 bit application (having a 32 bit machine word). So the size of a machine word can differ even on the same machine.

术语有不同的含义。它可以意味着一个机器字,或具有特定尺寸的类型。在x86汇编语言 DOUBLEWORD DWORD )和四字 QWORD )用于2,4和8字节大小,不论机器字长。

The term WORD has different meaning depending on how it's used. It can either mean a machine word, or a type with a specific size. In x86 assembly language WORD, DOUBLEWORD (DWORD) and QUADWORD (QWORD) are used for 2, 4 and 8 byte sizes, regardless of the machine word size.

这篇关于多少位是一个词,就是不断在不同的架构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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