07.05.2013 Views

Tema 3: El nivel de lenguaje máquina - Blearning

Tema 3: El nivel de lenguaje máquina - Blearning

Tema 3: El nivel de lenguaje máquina - Blearning

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modos <strong>de</strong> direccionamiento:<br />

Interpretación <strong>de</strong> las direcciones <strong>de</strong> memoria<br />

• Convenios para clasificar los bytes <strong>de</strong> una palabra:<br />

– Little Endian: La dirección <strong>de</strong> un dato es la dirección <strong>de</strong> la parte menos significativa<br />

<strong>de</strong>l dato.<br />

– Big Endian: La dirección <strong>de</strong> un dato es la dirección <strong>de</strong> la parte más significativa <strong>de</strong>l<br />

dato.<br />

– Aspecto importante cuando se intercambia información entre distintas<br />

<strong>máquina</strong>s.<br />

Little Endian<br />

MSB LSB<br />

0x44332211<br />

55<br />

Memoria<br />

0<br />

.<br />

0x11<br />

0x22<br />

0x33<br />

0x44<br />

.<br />

2 n -1<br />

Big Endian<br />

MSB LSB<br />

0x11223344<br />

Fundamento <strong>de</strong> Computadores (1º II) Cap 2: <strong>El</strong> <strong>nivel</strong> <strong>de</strong> <strong>lenguaje</strong> <strong>máquina</strong> 7 <strong>de</strong> 64

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!