“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”
Near Pointer: A near pointer is that which will only point within the current segment say segment 3 (there are S number of segments numbered 0 to S-1) by containing only offset .
Far Pointer: A far pointer is that which will point anywhere in the X MB across segments by containing segment+offset .
far pointers are the normalized pointers of four bytes which are used to access the main memory of the computer …it can access both the data segment and code segment thus by modifing the offset u can modify refer two differnt addresses but refer to the same memory .
Far pointers are not Normalized. Ex: TSR Programs use Far Pointers
Near Pointers: Point to the current segment in the Memory model (No need to dereference the Data Segment [DS] or the Code segment [CS]). They are the fastest pointers.
Far Pointers: Contain the new value of DS or CS within them.To use them the register must be changed, the memory dereferenced, and then the register restored.
Huge Pointers: They are essentially far pointers,but are normalized every time they are modified so that they have the smallest possible segment for that address. Slowest type of pointers
Near Pointer: A near pointer is that which will only point within the current segment say segment 3 (there are S number of segments numbered 0 to S-1) by containing only offset .
Far Pointer: A far pointer is that which will point anywhere in the X MB across segments by containing segment+offset .
far pointers are the normalized pointers of four bytes which are used to access the main memory of the computer …it can access both the data segment and code segment thus by modifing the offset u can modify refer two differnt addresses but refer to the same memory .
Far pointers are not Normalized. Ex: TSR Programs use Far Pointers
Huge pointers are Normalized.
Near Pointers: Point to the current segment in the Memory model (No need to dereference the Data Segment [DS] or the Code segment [CS]). They are the fastest pointers.
Far Pointers: Contain the new value of DS or CS within them.To use them the register must be changed, the memory dereferenced, and then the register restored.
Huge Pointers: They are essentially far pointers,but are normalized every time they are modified so that they have the smallest possible segment for that address. Slowest type of pointers
Hi
i would be better if you provide the addressing way for the offset in case of far pointer
Leave an Answer/Comment