From e2a6da26b16625d210fd420ad26d95cbd90fb551 Mon Sep 17 00:00:00 2001 From: yuchen Date: Fri, 13 Mar 2015 22:08:13 +0800 Subject: [PATCH] add more comments in toy.S --- related_info/lab1/toybootloader/toy.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/related_info/lab1/toybootloader/toy.S b/related_info/lab1/toybootloader/toy.S index e40adcb..6804faa 100644 --- a/related_info/lab1/toybootloader/toy.S +++ b/related_info/lab1/toybootloader/toy.S @@ -26,5 +26,5 @@ dispstr: int $0x10 /* 调用BIOS提供的int服务0x10的0x13功能:显示字符串 */ ret -.org 0x1fe, 0x90 -.word 0xaa55 +.org 0x1fe, 0x90 /* 0x1fe=510,表示从ret后的位置开始,直到510处结束的代码/数据空间,填写0x90 */ +.word 0xaa55 /* 合法的主引导扇区标识 */