Saltar para o conteúdo

Ficheiro:32bit-Endianess.svg

O conteúdo da página não é suportado noutras línguas.
Origem: Wikipédia, a enciclopédia livre.

Imagem numa resolução maior(ficheiro SVG, de 1 000 × 500 píxeis, tamanho: 5 kB)

Compor esta imagem em .

Descrição do ficheiro

Descrição

extremidade (Q339338):

Deutsch: Ein 32-Bit Integer (0A0B0C0D16, 16849614110, 0000 1010 0000 1011 0000 1100 0000 11012) als vier Bytes im Speicher abgebildet in Big- und Little-endian Byte-Reihenfolge.

Diese beiden Diagramme zeigen, wie zwei Computer mit unterschiedlicher Endianness eine 32-Bit-Ganzzahl (vier Byte) mit dem Wert 0x0A0B0C0D speichern. In beiden Fällen ist die ganze Zahl in vier Bytes unterteilt, 0x0A, 0x0B, 0x0C und 0x0D, und die Bytes werden in vier aufeinanderfolgenden Byte-Speicherplätzen gespeichert, beginnend mit dem Speicherplatz mit der Adresse a, dann a + 1, a + 2 und a + 3. Der Unterschied zwischen Big- und Little-Endian ist die Reihenfolge der vier Bytes der gespeicherten Ganzzahl.

Das erste Diagramm zeigt einen Computer, der Little-Endian verwendet. Er beginnt die Speicherung der ganzen Zahl mit dem niedrigstwertigen Byte, 0x0D, an der Adresse a und endet mit dem höchstwertigen Byte, 0x0A, an der Adresse a + 3.

Das zweite Diagramm zeigt einen Computer, der Big-Endian verwendet. Hier beginnt die Speicherung der Ganzzahl mit dem höchstwertigen Byte, 0x0A, an der Adresse a und endet mit dem niedrigstwertigen Byte, 0x0D, an der Adresse a + 3.

Da jeder Computer die gleiche Endianness zum Speichern und Abrufen der Ganzzahl verwendet, sind die Ergebnisse für beide Computer gleich. Probleme können auftreten, wenn der Speicher durch Bytes statt durch ganze Zahlen adressiert wird oder wenn Speicherinhalte zwischen Computern mit unterschiedlicher Endianness übertragen werden.
English: 32-Bit Integer (0A0B0C0D16, 16849614110, 0000 1010 0000 1011 0000 1100 0000 11012) arraged in memory in big- and little-endian byte order.

These two diagrams show how two computers using different endianness store a 32-bit (four byte) integer with the value of 0x0A0B0C0D. In both cases, the integer is broken into four bytes, 0x0A, 0x0B, 0x0C, and 0x0D, and the bytes are stored in four sequential byte locations in memory, starting with the memory location with address a, then a + 1, a + 2, and a + 3. The difference between big- and little-endian is the order of the four bytes of the integer being stored.

The first diagram shows a computer using little-endian. This starts the storing of the integer with the least-significant byte, 0x0D, at address a, and ends with the most-significant byte, 0x0A, at address a + 3.

The second diagram shows a computer using big-endian. This starts the storing of the integer with the most-significant byte, 0x0A, at address a, and ends with the least-significant byte, 0x0D, at address a + 3.

Since each computer uses its same endianness to both store and retrieve the integer, the results will be the same for both computers. Issues may arise when memory is addressed by bytes instead of integers, or when memory contents are transmitted between computers with different endianness.
Magyar: Hogyan tárolódik egy 32-bites integer, miután a regiszterekből a memóriába kerül egy little/big-endian típusú számítógépes rendszeren.
Data
Origem Obra do próprio
Autor Aeroid
Outras versões

Este ficheiro foi derivado de:

SVG desenvolvimento
InfoField
 
O código-fonte desta imagem SVG é válido.
 
Este diagrama foi criado com um editor de texto.
 
 Este Este diagrama é traduzido usando elementos SVG switch: todas as traduções são armazenadas no mesmo arquivo.

Licenciamento

Eu, titular dos direitos de autor desta obra, publico-a com a seguinte licença:
w:pt:Creative Commons
atribuição partilha nos termos da mesma licença
A utilização deste ficheiro é regulada nos termos da licença Creative Commons Atribuição-CompartilhaIgual 4.0 Internacional.
Pode:
  • partilhar – copiar, distribuir e transmitir a obra
  • recombinar – criar obras derivadas
De acordo com as seguintes condições:
  • atribuição – Tem de fazer a devida atribuição da autoria, fornecer uma hiperligação para a licença e indicar se foram feitas alterações. Pode fazê-lo de qualquer forma razoável, mas não de forma a sugerir que o licenciador o apoia ou subscreve o seu uso da obra.
  • partilha nos termos da mesma licença – Se remisturar, transformar ou ampliar o conteúdo, tem de distribuir as suas contribuições com a mesma licença ou uma licença compatível com a original.

Legendas

Adicione uma explicação de uma linha do que este ficheiro representa
32-Bit Integer arraged in memory in big- and little-endian byte order

Histórico do ficheiro

Clique uma data e hora para ver o ficheiro tal como ele se encontrava nessa altura.

Data e horaMiniaturaDimensõesUtilizadorComentário
atual12h30min de 19 de setembro de 2023Miniatura da versão das 12h30min de 19 de setembro de 20231 000 × 500 (5 kB)Aeroid+pt
12h29min de 19 de setembro de 2023Miniatura da versão das 12h29min de 19 de setembro de 20231 000 × 500 (5 kB)Aeroid+pt
09h21min de 19 de setembro de 2023Miniatura da versão das 09h21min de 19 de setembro de 20231 000 × 500 (5 kB)AeroidMulti-lang switch en, de, fr, hu, ja
08h35min de 19 de setembro de 2023Miniatura da versão das 08h35min de 19 de setembro de 20231 000 × 500 (4 kB)AeroidArrows, de-duplication
16h34min de 18 de setembro de 2023Miniatura da versão das 16h34min de 18 de setembro de 20231 000 × 500 (5 kB)Aeroidtext-anchor=end workaround
16h33min de 18 de setembro de 2023Miniatura da versão das 16h33min de 18 de setembro de 20231 000 × 500 (5 kB)Aeroidtext-anchor=end workaround
16h32min de 18 de setembro de 2023Miniatura da versão das 16h32min de 18 de setembro de 20231 000 × 500 (5 kB)Aeroidtext-anchor=end workaround
16h30min de 18 de setembro de 2023Miniatura da versão das 16h30min de 18 de setembro de 20231 000 × 500 (5 kB)Aeroidtspan workaround
16h24min de 18 de setembro de 2023Miniatura da versão das 16h24min de 18 de setembro de 20231 000 × 500 (5 kB)AeroidUploaded own work with UploadWizard

A seguinte página usa este ficheiro:

Utilização global do ficheiro

As seguintes wikis usam este ficheiro:

Metadados