Near, Far And Huge Pointers
Thread TagsAdobe Illustrator Adobe InDesign Adobe Photoshop Android Development Android Programming Android Studio Automation Testing C / C++ Programming Career Options College Lounge css digital marketing Digital Marketing / SEO Fireworks Graphic Design Graphic designing Graphics Design Graphics Designing HTML? Illustrator Internship Training java classes in pune java training institute in pune logo Design logo designing Magento Photoshop PHP Programming QA react-native SEO Single Page Website Testing Typography UI UI/UX Development UI Design UI Designing UI development User Interface UX Design Web Designing Website Design Wordpress wp
Log in with your username and password
Register for free!
Registration at Smart Mentors is completely free and takes only a few seconds. By registering you’ll gain:
- Full Posting Privileges.
- Access to Private Messaging.
- Optional Email Notification.
- Ability to Fully Participate.
- Author Replies
- February 15, 2019 at 10:24 am #53672
1) A near pointer is a 16-bit pointer to an object which is contained in the present segment like code portion, information section, stack portion, an additional section. It holds just offset address.
2) The compiler can create code with a near pointer and does not need to concern itself with segment addressing, so utilizing near pointers is quickest, and produces the littlest code.
3) The impediment is that you can just access 64kb of information at once on the grounds that that is the measure of a portion – 64kb.
1) A far pointer is a 32-bit pointer to an object anyplace in memory. It must be utilized when the compiler allocates a segment register, or we can say the compiler must allocate segment register to use far pointers.
2) These pointers hold 16-bit section and 16-bit offset address.
3) This takes extra instructions and extra time, so it is the slowest and largest method of accessing memory.
1) Huge pointers are additionally far pointers, for example, a 32-bit pointer the thing that matters is that the huge pointer can be expanded or diminished consistently between any sections and can have any a value from 0 to 1MB.
2) The huge pointer is a solid pointer to something with a vast lump of memory, and there is no portion: offset boundaries. Or on the other hand, in short, a huge pointer is the real memory address, without reference to any portion register.
You must be register. Registration is 100% free.to reply to this thread.Please or