From cfd6859308d3da4909b6a313726cc568070cd5db Mon Sep 17 00:00:00 2001 From: Sa'id Kharboutli Date: Sun, 9 May 2021 03:01:36 -0400 Subject: [PATCH] Fixed typo regarding indirect addressing The comment previously stated that attempt 2 was "printing the memory address...", but it is meant to say "printing the data at the memory address..." since it was indirectly addressed using [the_secret] --- 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..829c8cf 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 data 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"