Difference between far and huge pointer?

Author Topic: Difference between far and huge pointer?  (Read 862 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • Hot Shaper
Difference between far and huge pointer?
« on: 04-04-2016, 04:21:49 »
The major difference between the two pointers are as follows:-
    Far pointer are not normalized whereas huge pointer are normalized


Offline TomClarke

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 50
  • Posts: 874
  • Karma: 0
  • Gender: Male
    • Custom Writing Service & Content Marketplace
Re: Difference between far and huge pointer?
« Reply #1 on: 05-16-2016, 01:56:55 »
A far pointer is a 32 bit  pointer to an object anywhere in memory. In order to use it,  the compiler must alloocate a segmnet register, load it with  the segment portion of the pointer, and then reference memory using the offset portionof the pointer relative to the newly loaded segment register. This takes extra instructions and extra time, so it is th slowest and largest method of accessing memory.
The huge pointer is a monolithic pointer to some item with a large chunk of memory, and there are no segment: offset boundries. In other words, huge pointer is a actual memory adress, without reference to any segment register.
Your ideas, our writings - Writology.com

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1160 Views
Last post 11-11-2011, 01:02:57
by manvbf
13 Replies
6163 Views
Last post 06-10-2015, 00:05:40
by abhi_garg
13 Replies
5080 Views
Last post 12-20-2016, 18:33:18
by LaurentHector
6 Replies
3092 Views
Last post 04-24-2016, 07:42:23
by sonth321
1 Replies
669 Views
Last post 05-16-2016, 01:18:23
by TomClarke