
print "hello world" first byte is ascii code, second byte is color code. 7 0111 light gdark glight blue a 1010 light green b 1011 light cyan c 1100 light red d 1101 light magenta e 1110 yellow f 1111 white org 100h set video mode mov ax, 3 text mode 80x25, 16 colors, 8 pages (ah=0, al=3) int 10h do it! cancel blinking and enable all 16 colors: mov ax, 1003h mov bx, 0 int 10h set segment register: mov ax, 0b800h mov ds, ax 5. character attribute is 8 bit value, high 4 bits set background color and low 4 bits set foreground color. if you change the second byte, you can change the color of the character even after it is printed. in vga memory: first byte is ascii character, byte that follows is character attribute. Cdigo del Ejemplo 1 name "hi-world" this example prints out "hello world!" by writing directly to video memory. Terminamos la Instalacin Emu8086 El Emulador EMU8086 es el primer programa que se utiliza en el curso de Microprocesadores que imparte la Universidad Don Bosco se ha elegido este emulador porque posee una interfaz de usuario muy amistosa que permite familiarizarse con los fundamentos de la programacin en lenguaje ensamblador de forma muy intuitiva, aparte de eso brinda una serie de recursos para ejecutar y depurar los programas Al ejecutar el programa Hola Mundo nos sale en Ingles y con una serie de cambios en el cdigo lo cambiamos a espaol 3. Tarea en Clase de Compiladores Nombre: Alexander Echeverra Nivel: 5to Sistema Fecha: 15-04-2014 Ejecutamos el ensamblador Instalamos el ensambladorĢ.
