• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is a far pointer? Where we use it?
#1

Advertise Here

A far pointer is a four byte pointer that used to access the main memory of the system. It can access the code and data segment, just by modifying the offset you can modify the address.
Reply
#2
Far pointers use segment info and an offset to point across segments. So, to use them, DS or CS must be changed to the specified value, the memory will be dereferenced and then the original value of DS/CS restored. Note that pointer arithmetic on them doesn't modify the segment portion of the pointer, so overflowing the offset will just wrap it around
[/url]self publishing blueprint review
[url=https://www.youtube.com/watch?v=oJqWZFYBth0]https://www.youtube.com/watch?v=oJqWZFYBth0
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  What is "this" pointer? beingchinmay 1 182 12-21-2016, 01:24 AM
Last Post: rosestorm
  Pointer Comparisons beingchinmay 0 86 09-15-2016, 05:25 AM
Last Post: beingchinmay

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


Webmasterbabble.com, © 2012-2017 .