小编Fed*_*rio的帖子

在实模式下使用BIOS格式化磁盘时出错

我正在大学学习集会.我正在尝试编写个人格式例程,但我遇到了一些问题.例程在引导时启动,但在第一次中断(INT 13h/AH = 7)后进入错误流程.打印AH状态值表明错误是:

检测到0Eh控制数据地址标记(硬盘)

这是我的引导程序代码:

[BITS 16]
[ORG 0x7C00]

init:
call main
ret


main:
xor ax, ax
mov ds, ax

mov si, string0
call print
call delay
mov si, string1
call print
call delay
mov si, string2
call print
call delay
mov si, string3
call print
call delay
mov si, string4
call print
call delay
mov si, string5
call print
call delay
mov si, string6
call print
call delay
mov si, string7
call print …
Run Code Online (Sandbox Code Playgroud)

x86 assembly bios bootloader x86-16

2
推荐指数
1
解决办法
265
查看次数

标签 统计

assembly ×1

bios ×1

bootloader ×1

x86 ×1

x86-16 ×1