What is far pointer?

Questions by ash_k6

Showing Answers 1 - 10 of 10 Answers

chandhi

  • Feb 9th, 2006
 

            

acessing the external memery

  Was this answer useful?  Yes

chandrika

  • Feb 9th, 2006
 

Acessing the external  memory.

 

  Was this answer useful?  Yes

koteshwar

  • Feb 9th, 2006
 

hi all,far pointer is always treated as a 32-bit pointer and contains both segment address and offset address ..BY using far pointer we can have multiple code segments which in turn allow u to have programs longer than 64KB

  Was this answer useful?  Yes

anup

  • Feb 11th, 2006
 

suppose if your code segment is 32k then any pointer declared can access a memory location within this range but not beyond this range.

thus if a far pointer is used you can access beyond this range (lets say upto 64k).

  Was this answer useful?  Yes

PRABHU

  • Mar 28th, 2006
 

hi,

    plese can u explain ........

 what is NULL pointer?

  Was this answer useful?  Yes

ashish khandelwal

  • Mar 29th, 2006
 

hi, thanks for replying.but the answer was too short to be understand.

anyway if u hv any queries u can ask.

  Was this answer useful?  Yes

mahendra

  • Apr 11th, 2006
 

When the function is present out side the segment, it requires base address and offsetaddress. To access the function, the base and offset addersses are required to specify. This is like the far jump. The farpointer is a 32-bit pointer outside the segment. The segment size is based on the size of the IP register(Instruction Pointer ). Some times it is 64kb, some times it is 32kb, this depends on the processor.

  Was this answer useful?  Yes

jintojos

  • Jul 7th, 2008
 

Far pointers are mainly used for 32 bit addressing that is the segment offset addressing.
Normal pointers can onLy access the memory locations which is allocated by the compiler for that program. Far pointers are used for referencing memory locations beyond the data segment.
For example referencing Video memory location we use
char far * =0xb0008000;
here 0xb000 is the segment address and 0x8000 is the offset address. Thanks

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions