Hi I am trying to write a simple text displaying os except all my text doesn't display. My code is:
BITS 16
start:
mov ax, 07C0h
add ax, 288
mov ss, ax
mov sp, 4096
mov ax, 07C0h
mov ds, ax
mov si, text_string
call print_string
mov dl,'S'
mov dl,'o'
mov dl,' '
mov dl,'w'
mov dl,'h'
mov dl,'a'
mov dl,'t'
mov dl,' '
mov dl,'i'
mov dl,'s'
mov dl,' '
mov dl,'y'
mov dl,'o'
mov dl,'u'
mov dl,'r'
mov dl,' '
mov dl,'p'
mov dl,'a'
mov dl,'s'
mov dl,'s'
mov dl,'w'
mov dl,'o'
mov dl,'r'
mov dl,'d'
mov dl,'?'
jmp $
ret
times 510-($-$$) db 0
dw 0xAA55
text_string db 'Password Please and then there will be more loading.', 0
print_string:
mov ah, 0Eh
.repeat:
lodsb
cmp al, 0
je .done
int 10h
jmp .repeat
.done:
How do I get to print all the words and letters? I am sorry if this in the wrong section. I am new.