mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
lesson 3, boot sector with memory addressing
This commit is contained in:
parent
8211b950b1
commit
cd53d86517
@ -36,6 +36,10 @@ by counting the bytes, and replace `0x2d` with the new one.
|
||||
Please don't continue onto the next file unless you have 100% understood
|
||||
the boot sector offset and memory addressing.
|
||||
|
||||
|
||||
The global offset
|
||||
-----------------
|
||||
|
||||
Now, since offsetting `0x7c00` everywhere is very inconvenient, assemblers let
|
||||
us define a "global offset" for every memory location, with the `org` command:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user