answersLogoWhite

0

How long is a word and byte?

Updated: 8/11/2023
User Avatar

Wiki User

9y ago

Best Answer

There is no single answer to this question. A byte is universally defined as a tuple of 8 bits (sometimes bytes are also called octets, therefore).

However, a word commonly refers to the natural word for a given processor, that is the processor's preferred entity for arithmetic operations. The word is therefore typically defined by the processor's ALU width.

Typical 8, 16 or 32 bit processors have 8, 16 or 32 bit words (containing 1, 2 or 4 bytes), respectively. Other processors have another word size, such as 3 bytes per word, or 8.

In Windows programming, a word is often thought to refer to a 16 bit entity, mostly because the classic 32-bit Windows API makes frequent use of DWORD, a double-word, 32 bits or 4 bytes wide. However, these data types are not generally portable and are not recommended for use outside the specific context of this API.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

Although a byte is typically 8-bits in length, there is no standard that actually specifies this. In general we say that a byte is the smallest unit of memory that may be addressed and since ANSI code pages use 7-bit encoding, a byte must be at least 7 bits in length. However, an 8-bit byte is notationally more convenient as we can represent any value it may hold using 2 hexadecimal digits, where each digit represents half-a-byte (commonly known as a nybble). In C++, all data types are measured in terms of whole bytes, however the standard does not specify the length of a byte other than it must be at least 8 bits. The char data type is the smallest data type and always has a length of 1 byte.

The length of a word is machine dependent but is typically some multiple of 8-bit bytes. For instance, a 32-bit system is said to have a word length of 4 bytes because that's the largest value that will fit in a single CPU register. A 64-bit system therefore has a word length of 8 bytes.

Some programming languages consider a word to be two bytes in length and a double word as being four bytes in length. However, these definitions are not universal and the actual lengths can vary according to the underlying architecture, even within the same language (different implementations may use different definitions).

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

4, since by definition a byte is made up of 8 bits.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

4 bytes in 32 bits.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How long is a word and byte?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many bytes are in the word question?

A Word is of 3 Types. 1. Half Word- It is 16 bit or 1 byte long 2. Double Word or DWORD- It is 32 Bit or 2 byte long 3. Quad Word or QWORD- it is 64 bit or 8 byte long


How can you arrange bit byte word nibble in ascending order?

bit, nibble, byte, word


Can a byte store a word?

yes it can have


How many byte equal to a word?

2BYTE


How do you pronounce terabyte?

Terr (as in the first part of the word terrible) A (as in the first part of the word anger) Byte (as in the word bite) ( ter-a-byte )


What is the difference between byte and word?

one octet (8-bit byte or word) so 8 bytes = 1 word


How do the instruction of 8085 is classified based on their function and word length?

The 8085 instruction set is classified into the following three groups according to word size: 1. One-word or 1-byte instructions 2. Two-word or 2-byte instructions 3. Three-word or 3-byte instructions


Eight bits or one character of data are?

Eight bits are 1 byte. The word 'byte' was coined from the word "by eight" - 1 bit multiplied by 8.


How do you put the word byte in a sentence?

Most of the functionality available for byte streams is also provided for character streams.


A byte is a what?

A unit of memory on a computer, equaling 8 bitsA byte is an 8 digit long binary number. Each digit in a byte is called a bit.


What is a 'byte' in computer terms?

Bytes is a memory description in computer terminology, a computer language is something totally different than terminology. A byte is 8 bits long, a bit is a space for an on or off setting - 0 or 1. A byte has 8 of these in a row - 10100101 or 11111111 or 00000001. A byte can be used to count in binary from 0 to 255 (00000000 to 11111111).


Can a byte of memory can store an entire word?

yes it can have