[b][red]This message was edited by shaolin007 at 2003-11-4 8:0:29[/red][/b][hr]
Can't seem to get my code to work quite the way I want it to. It prints out garbage, or whatever is in memory I guess. I'm using NASM and here is my code.
BITS 16 ;Set code generation to 16 bit mode
ORG 0x0100 ;Set code start address to 0100h
mov ax, 0b800h
mov es, ax
mov bx, hellomsg
mov ax, bx
cmp al, '0'
mov [es:di], al
mov ah, 08h
mov ax, 4c00h
hellomsg db "Hello There!0"
Thanks for the help in advance.