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.

Sintaxis <strong>de</strong>l ensamblador<br />

• Líneas <strong>de</strong> comentarios<br />

– Todo lo que haya a partir <strong>de</strong>l simbolo # hasta el final <strong>de</strong> línea se ignora.<br />

• Directivas<br />

– Secuencia <strong>de</strong> caracteres, (_) y (.) que no empiezan por un número.<br />

• Etiquetas<br />

– Se <strong>de</strong>claran colocándolas al principio <strong>de</strong> línea y terminadas en (:).<br />

• Número <strong>de</strong>cimales y hexa<strong>de</strong>cimales<br />

– Números en base 10 por <strong>de</strong>fecto.<br />

– Hexa<strong>de</strong>cimales o en base 16 precedidos por 0x.<br />

• Ca<strong>de</strong>nas o strings<br />

– Las ca<strong>de</strong>nas están encerradas entre dos comillas (“).<br />

– Caracteres especiales:<br />

• \n Nueva línea<br />

• \t Tab<br />

• \” Comillas<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> 55 <strong>de</strong> 64

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

Saved successfully!

Ooh no, something went wrong!