answersLogoWhite

0


Best Answer

The true answer is yes and no

Yes: in binary coded decimal and hexadecimal each byte is 4 bits long;

in octal each byte is three bits long.

No: in true binary theoretically there is no "last bit".

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is each byte in memory limited in size?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the largest positive integer that can be stored in memory size of 1 byte?

255


How do you calculate the size of the structure?

The Structure size can be calculated by adding the memory requirements of each individual structure members. This is applicable for the word alignment of one byte. The word alignment of one byte can be set by the following statement#pragma pack(1).AnswerDon't try to calculate anything, use sizeof.


Why the size of class in oops is 1 byte without datamember?

The size of an empty class is not normally 1 byte, actually. It will usually be equal to the word size defined by the platform it is running on (often 2 or 4 bytes). This is because the word size is usually used as a memory address size and an empty class still needs to point to some location in memory (even if that location stores no data).


What is a byte and how many bits does it contain?

A byte is the basic unit of information in a computer. It is usually the smallest addressable object in memory. The size of a byte is a function of the design of the computer, but nearly universally, it has come to mean 8 bits. (Octet is a more precise definition of 8 bits of memory, in case there is any dichotomy.)


How many GB in ghz?

Giga-byte (GB) is a unit of memory size while Giga-Hertz (GHz) is a measure of frequency, there is no conversion factor.


What is structure padding?

When you are using C, structure padding is used to pad the data in such a way that it can be sent to external devices. Sometimes, the data is padded in such a way that it can be used on little endian vs big endian processors.Padding is done to fast access of data from memory. Structure members are aligned to based on the memory pointer size, which is normally 32bit in Win32 systems. So a character variable defined may take 4 bytes. Hence the size of structure is not really the sum of size individual members.Extra bits between or after the structure's defined fields, that do not belong to any of those fields. The purpose of the padding is to position the fields on byte boundaries or even word boundaries, which is convenient for the computer. And the purpose of that is faster reading / writing / searching.Answer:Most processors require specific memory alignment on variables certain types. Normally the minimum alignment is the size of the basic type in question, for instance this is common.Char variables can be byte aligned and appear at any byte boundaryShort (2 byte) variables must be 2 byte aligned, they can appear at any even byte boundary. This means that 0x10004567 is not a valid location for a short variable but 0x10004566 is.long (4 byte) variables must be 4 byte aligned, they can only appear at byte boundaries that are a multiple of 4 bytes. This means that 0x10004566 is not a valid location for a long variable but 0x10004568 is.Structure padding occurs because the members of the structure must appear at the correct byte boundary, to achieve this the compiler puts in padding bytes (or bits if bit fields are in use) so that the structure members appear in the correct location. Additionally the size of the structure must be such that in an array of the structures all the structures are correctly aligned in memory so there may be padding bytes at the end of the structure too.struct example {char c1;short s1;char c2;long l1;char c3;}In this structure, assuming the alignment scheme I have previously stated thenc1 can appear at any byte boundary, however s1 must appear at a 2 byte boundary so there is a padding byte between c1 and s1.c2 can then appear in the available memory location, however l1 must be at a 4 byte boundary so there are 3 padding bytes between c2 and l1c3 then appears in the available memory location, however because the structure contains a long member the structure must be 4 byte aligned and must be a multiple of 4 bytes in size. Therefore there are 3 padding bytes at the end of the structure. it would appear in memory in this orderc1padding bytes1 byte 1s1 byte 2c2padding bytepadding bytepadding bytel1 byte 1l1 byte 2l1 byte 3l1 byte 4c3padding bytepadding bytepadding byteThe structure would be 16 bytes long.re-written like thisstruct example {long l1;short s1;char c1;char c2;char c3;}Then l1 appears at the correct byte alignment, s1 will be correctly aligned so no need for padding between l1 and s1. c1, c2, c3 can appear at any location. The structure must be a multiple of 4 bytes in size since it contains a long so 3 padding bytes appear after c3It appears in memory in the orderl1 byte 1l1 byte 2l1 byte 3l1 byte 4s1 byte 1s1 byte 2c1c2c3padding bytepadding bytepadding byteand is only 12 bytes long.I should point out that structure packing is platform and compiler (and in some cases compiler switch) dependent.Memory Pools are just a section of memory reserved for allocating temporarily to other parts of the applicationA memory leak occurs when you allocate some memory from the heap(or a pool) and then delete all references to that memory without returning it to the pool it was allocated from.


What is the maiximum size of memory?

It's a Tera Byte. 1024 GB = 1 TB. 1024 KB = 1 MB 1024 MB = 1 GB


What is the smallest memory size and how does it compare to a bit?

The smallest memory size is a single bit, capable of storing either a 1 or a zero. An electronic component that does this is known as a D latch and in it's simplest form has three pins. The data input pin will have the value to be stored. The clock or enable pin is the trigger to store the value on the data input pin. Finally the output pin will have the value of the stored data. These single byte memories can be bought as small integrated circuits. Add 8 of these latches together and you have a 1 byte memory. Add 1 byte memories together and you have the basis of computer memory as used in almost all processors.


What is a register in microcontroller?

Registers are small memory elements of size in few byte or word. Registers can be accessed quickly by the ALU (Arithmetic and Logic Unit) of micro controllers.


If a particular computer has 8 byte addressability and a 4 bit address space how many bytes of memory does that computer have?

8byte addressability: 8bytes can be stored in each memory location. 3bits to access: so 8 memory locations ( 2^3) total size = 8 * 8bytes( each memory location contains) = 64 bytes any queries or discussions, feel free to contact me at: chintala.ganesh@wipro.com


What is 120 bits?

A size of memory measurement. Bit is the second smallest preluded by byte which is equalling one typed leter on your screen. So size wise it is very small. Live long and prepare...for Maxwell5050.


How many address lines are needed to address each machine location in a 2048 X 4 memory chip?

It depends on how wide the data buses are on each chip, and how they're connected. If they're one byte wide, you could need over 256 million addresses, one for each byte. if they're wider, and connected to show an even wider combined data bus, it could be much less; around 32 million.