From cf63bcc4abec927183da9f9de38723615242bc72 Mon Sep 17 00:00:00 2001 From: Nadim Edde Gomez Date: Mon, 1 Oct 2018 14:18:44 +0100 Subject: [PATCH] Possible correction to comment for try 2 If I understood correctly, the second approach tries to dereference the pointer which is the correct approach. However currently it repeats the description of approach 1 saying its trying to print the memory address. --- 03-bootsector-memory/boot_sect_memory.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03-bootsector-memory/boot_sect_memory.asm b/03-bootsector-memory/boot_sect_memory.asm index 7218841..a65c9c0 100644 --- a/03-bootsector-memory/boot_sect_memory.asm +++ b/03-bootsector-memory/boot_sect_memory.asm @@ -9,7 +9,7 @@ mov al, the_secret int 0x10 ; attempt 2 -; It tries to print the memory address of 'the_secret' which is the correct approach. +; It tries to print the contents at the memory address of 'the_secret' which is the correct approach. ; However, BIOS places our bootsector binary at address 0x7c00 ; so we need to add that padding beforehand. We'll do that in attempt 3 mov al, "2"