mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
Merge cfd6859308
into ce8e050d24
This commit is contained in:
commit
ec5bbae836
@ -9,7 +9,7 @@ mov al, the_secret
|
|||||||
int 0x10
|
int 0x10
|
||||||
|
|
||||||
; attempt 2
|
; 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
|
; However, BIOS places our bootsector binary at address 0x7c00
|
||||||
; so we need to add that padding beforehand. We'll do that in attempt 3
|
; so we need to add that padding beforehand. We'll do that in attempt 3
|
||||||
mov al, "2"
|
mov al, "2"
|
||||||
|
Loading…
Reference in New Issue
Block a user