sagar474
Full Member level 5
- Joined
- Oct 18, 2009
- Messages
- 285
- Helped
- 5
- Reputation
- 10
- Reaction score
- 5
- Trophy points
- 1,318
- Location
- India,kakinada
- Activity points
- 3,122
I found this in an article and I cant understand. why?
"If a valid boot sector is found, it is loaded into memory at location 0:07C0h. "
and I'm trying to understand the code.
but i cant understand why 07C0h , why 288 ,why 4096
please anyone explain me this.
"If a valid boot sector is found, it is loaded into memory at location 0:07C0h. "
and I'm trying to understand the code.
Code:
mov ax, 07C0h ; Set up 4K stack space after this bootloader
add ax, 288 ; (4096 + 512) / 16 bytes per paragraph
mov ss, ax
mov sp, 4096
mov ax, 07C0h ; Set data segment to where we're loaded
mov ds, ax
please anyone explain me this.