我在第一行有文本。我想在第二行写一篇文章。但是怎么做呢?
这里是我的示例代码:
start:
mov ax, 07C0h
add ax, 288
mov ss, ax
mov sp, 4096
mov ax, 07C0h
mov ds, ax
mov ah, 09h
mov cx, 1000h
mov al, 20h
mov bl, 17h
int 10h
mov si, text_string
call print_string
jmp $
text_string db 'This is my Operating System!', 0
print_string:
mov ah, 0Eh
.repeat:
lodsb
cmp al, 0
je .done
int 10h
jmp .repeat
.done:
ret
times 510-($-$$) db 0
dw 0xAA55
现在,我该如何在第二行写文本呢?
https://stackoverflow.com/questions/51467378
复制相似问题