19.04.2018 Views

Tutorial de ensamblador

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

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

Contenido<br />

Capítulo 0. ¿Qué es <strong>ensamblador</strong>? ......................................................................... 7<br />

Lenguaje <strong>de</strong> bajo nivel ..................................................................................... 7<br />

Historia ............................................................................................................. 8<br />

Aplicaciones ..................................................................................................... 8<br />

Capítulo 1. Teoría básica ........................................................................................ 9<br />

Aclaraciones ........................................................................................................ 9<br />

Tipos <strong>de</strong> Ensambladores ..................................................................................... 9<br />

Cómo Ensamblador maneja los datos ................................................................. 9<br />

Segmentos ....................................................................................................... 9<br />

Segmento y registro <strong>de</strong> datos ....................................................................... 9<br />

Segmento y registro <strong>de</strong> código ................................................................... 10<br />

Segmento y registro <strong>de</strong> pila ........................................................................ 10<br />

Segmento y registro extra ........................................................................... 10<br />

Registros <strong>de</strong> propósito general ...................................................................... 10<br />

Registros apuntadores ................................................................................... 12<br />

Registros <strong>de</strong> ban<strong>de</strong>ras ................................................................................... 12<br />

Tipos <strong>de</strong> direccionamiento ................................................................................. 13<br />

Modo implícito ................................................................................................ 15<br />

Modo inmediato .............................................................................................. 15<br />

Modo <strong>de</strong> registro ............................................................................................ 15<br />

Modo indirecto por registro ............................................................................. 15<br />

Modo <strong>de</strong> direccionamiento directo ................................................................. 16<br />

Modo <strong>de</strong> direccionamiento indirecto ............................................................... 16<br />

Modo <strong>de</strong> direccionamiento in<strong>de</strong>xado .............................................................. 16<br />

Modo <strong>de</strong> direccionamiento por registro base ................................................. 17<br />

Interrupciones .................................................................................................... 17<br />

Interrupciones externas .................................................................................. 17<br />

Interrupciones internas ................................................................................... 18<br />

Interrupciones <strong>de</strong>l BIOS ................................................................................. 18<br />

Interrupciones <strong>de</strong>l DOS ..................................................................................... 19<br />

2

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

Saved successfully!

Ooh no, something went wrong!