검색결과 리스트
segmant에 해당되는 글 1건
- 2009.03.08 Segmant and Offset
글
Segmant and Offset
Programming/OS Development
2009. 3. 8. 01:14
Physical Address - 0x07C00
Logical Address - 0x07c0:0000
When you change from physical address to logical address, you add zero to 16 antilogarithm ( = shift towards left for four times ) then add offset.
0x07C0:0000 Calculation
0x7C00 + 0x0000 = 0x7C00 = 0x07C00
0x2004:0101 Calculation
0x20040 + 0x0101 = 0x20141
Logical Address - 0x07c0:0000
When you change from physical address to logical address, you add zero to 16 antilogarithm ( = shift towards left for four times ) then add offset.
0x07C0:0000 Calculation
0x7C00 + 0x0000 = 0x7C00 = 0x07C00
0x2004:0101 Calculation
0x20040 + 0x0101 = 0x20141
'Programming > OS Development' 카테고리의 다른 글
naked 함수 (0) | 2009.05.11 |
---|---|
Stack Frame (0) | 2009.05.11 |
NASM - 1 (0) | 2009.03.11 |
Real Mode, Protected Mode (0) | 2009.03.08 |
1. 부트스트랩 (0) | 2009.03.08 |