air*_*n19 2 string x86 assembly
我在Assembly(NASM语法)中编写了一个简单的引导加载程序,但是当我在QEMU中运行它时,换行符显示如下:

这是我的代码:
有没有办法阻止0Ah向前推进线路?
.loop_top:
mov si, text_string ; Put string position into SI
call print_string ; Call our string-printing routine
loop .loop_top
jmp $ ; Jump here - infinite loop!
text_string db "This is my cool new OS!", 0Ah, 0
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1532 次 |
| 最近记录: |