无法打开包含文件

时间:2018-04-15 10:09:49

标签: assembly include nasm bootloader

您好我正在尝试在代码中编写汇编代码我试图包含另一个.asm代码我正在使用nasm和代码行

%include "../Desktop/Programlama/KAYRA/Asm/Boot\ Sector\ Disk/boot_sector_print.asm"
%include "../Desktop/Programlama/KAYRA/Asm/Boot\ Sector\ Disk/boot_sect_print_hex.asm"
%include "../Desktop/Programlama/KAYRA/Asm/Boot\ Sector\ Disk/boot_sector_disk.asm"

当我试图让它回归时

boot_sector_main.asm:22: fatal: unable to open include file `../Desktop/Programlama/KAYRA/Asm/Boot\ Sector\ Disk/boot_sector_print.asm'

任何人都可以知道任何事情吗?

1 个答案:

答案 0 :(得分:0)

我解决了这个问题,我的包含是像我这样重新输入的

%include "boot_sector_disk.asm"

问题解决了