Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
near pointer, segmentation
i am programming in Turbo C 3 now-a-days, with Windows XP as my OS. and i hv some questions about it.
1. does TC 3 tht i am using produces executables actually for DOS tht are
16 bit apps.?
2. for 32 bit FAR pointers i know tht the real address is calculated as:
seg. no. * 16(HEX) + offset. it converts the 32 bit virtual address into
a 20 bits real address.
how is the 16 bit near pointer virtual address converted into a 20 bit
3. who converts the virtual address into a real address in the computer
when a C program is compiled?
4. wht is meant by overlapping segments? the virtual addresses r from
0000:0000 to FFFF:FFFF. so we can define 16*16*16*16 segments, each
starting from an address divisible by 16. if i am right then please
let me know, how is it beneficial in actual programming? otherwise
otherwise please correct me.
0 · ·