From 81814a90941e63d8c5f3ec90924d16aa16271a2d Mon Sep 17 00:00:00 2001 From: proneon267 <45512885+proneon267@users.noreply.github.com> Date: Tue, 15 Jan 2019 13:29:29 +0530 Subject: [PATCH] Update boot_sect_memory.asm --- 03-bootsector-memory/boot_sect_memory.asm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/03-bootsector-memory/boot_sect_memory.asm b/03-bootsector-memory/boot_sect_memory.asm index 7218841..3eaba95 100644 --- a/03-bootsector-memory/boot_sect_memory.asm +++ b/03-bootsector-memory/boot_sect_memory.asm @@ -24,9 +24,7 @@ int 0x10 ; A register can't be used as source and destination for the same command. mov al, "3" int 0x10 -mov bx, the_secret -add bx, 0x7c00 -mov al, [bx] +mov al, [the_secret+0x7c00] int 0x10 ; attempt 4