Best Answer

On far pointers the comparison operators(== and !=) check the 32 bit value. While >, =,

User Avatar

Wiki User

โˆ™ 2006-04-05 09:20:17
This answer is:
User Avatar
Study guides

Internet download manager software for mac free download

See all cards
4 Reviews

Add your answer:

Earn +20 pts
Q: What does it mean by huge pointer is normalize give detail about far pointer huge pointer?
Write your answer...
Still have questions?
magnify glass
Related questions

What are ziggurats describe and give detail?

They are huge rats that eat people

What are different type of pointers?

Pointer is a variable that is used to store the memory address of another variable. There are differenr types of pointers: NULL pointer THIS pointer VOID pointer NEAR pointer HUGE pointer FAR pointer WILD pointer

Is the word huge an adjective?

Yes, huge is an adjective.An adjective is a word that describes and gives detail about the noun.For example:1. I have a huge coconut tree.The word huge (adjective) describes and gives detail about the coconut tree (nouns).2. Help me catch that huge dog.Huge (adjective) gives detail and describes the dog (noun).Yes, huge is an adjective.

What is huge pointer generic pointer and far pointer?

Far Pointer is a pointer that is stored using four bytes (32 bits). The bytes are stored little endian or low to high order. A far pointer can access objects up to 16K in size in any memory area. Objects larger than 16K must be accessed using huge pointers This book is basic for c , download and Read this... must required !

Is Far pointer necessary to create a circular linked list?

It has to be a pointer all right.Regarding 'far' and 'near': forget it, simply use 'Large' data modell (or 'Huge').

What is the difference between far pointer and huge pointer in C programming language?

Huge pointers are fully recognised and evaluated for their entire width.Far pointers only allow normal operations to be done to their offset amount and not the segment or paragraph amount.AnswerNear pointers have a size of 2 bytes. They only store the offset of the address the pointer is referencing. An address consisting of only an offset has a range of 0 - 64K bytes starting from the beginning of DGROUP. A near pointer can be incremented and decremented using arithmetic operators (+, -, ++, and --) through the entire address range. Any attempt to increment a near pointer that has a value of 64K (0xffff) will result in a value of 0. This is referred to as wrapping the pointer. A corresponding result can be expected when attempting to decrement a pointer that contains an address of 0, except the result will be 64K instead of 0. In addition to being incremented and decremented, near pointers can be compared to one another using relational operators ( , ==, >= and

What is the difference between near far and huge pointers?

All three of these pointer types are specific to the Intel x86 segmented architecture, and those processors that emulate this architecture. Segmented architecture here refers to memory access. A memory address in this scenario could be an offset from a segment register. The near pointer is a 16-bit entity that contains just the offset from the default data segment register. The far pointer contains the segment address and the offset in a dual 16-bit structure. The huge pointer is the actual memory address, without reference to any segment register.

What is the use of huge pointer in C?

It has to do with the memory model you are using... If you are using the LARGE or HUGE memory model, then you use HUGE memory pointers. == Huge pointers are like far pointers, just more so: they are always normalized (ie offset part is between 0 and 15), and segment wrapping-around do not occur if you use them.

What did Scrooge give bob for Christmas?

A Huge turkey

What is normalized pointer as you say huge is normalized but far is not in c?

Normalised pointers date back to the days when physical memory was addressed by segment and offset. For instance, on a system with 4,294,967,296 unique memory addresses we might divide those addresses into 65,536 segments of 65,536 addresses each. This means we need 16-bits to address each segment and another 16-bits to address the offsets within those segments. If the memory we need to access resides in the current segment only then we don't need to specify the segment at all, we can just use a 16-bit pointer known as a near pointer. This means that all pointer arithmetic applies to the offset address only, such that 0xFFFF + 1 = 0x0000. If we need to access offsets within a particular segment then we need to use a 32-bit pointer to specify both the segment and the offset. For this we can either use a far or a huge pointer. We say that a huge pointer is normalised because it behaves exactly as we'd expect any 32-bit value to behave: 0x0000FFFF + 1 = 0x00010000. However, a far pointer is not normalised because it does not behave in the normal way. Using the same example: 0x0000FFFF + 1 = 0x00000000. In other words, only the offset portion of the address is affected by pointer arithmetic.

What is near far and huge pointers How many bytes are occupied by them?

Near, far, and huge pointers are different types of pointers used to reconcile the different addressing models of the Intel 8086/8088 class processors, running in a 16-bit operating system such as Windows 3.x, as well as any of the newer incarnations running in real mode or virtual 8086 mode.A near pointer can address something within one 64Kb memory segment, containing only an offset, and it takes two bytes. The segment is implied by context, and is usually the data segment, selected for the addressing model.A far pointer can address anything in the 1Mb memory1, containing both a segment and an offset, and it takes four bytes.A huge pointer is a normalised far pointer, which means its offset part is always between 00H and 0FH.In 32-bit mode a pointer can address anything in 4Gb memory, containing a flat 32-bit offset, and it takes four bytes. (In this mode segments have no significance.) It only works, however, when there is support for it, such as the WIN32 extension of Windows 3.x.---------------------------------------------------------------------------------------1In the 80286 or higher, running in protected mode, in OS/2, the segment portion of the pointer is actually a descriptor selector, so 1Mb addressibility depends on the operating system environment.far huge near pointer is an oxymoron. far points to memory outside of the normal address space. near points to memory within the normal address space, is the default, and usually is not needed. I've never seen huge before. What is the target architecture?Near, far, and huge pointers are a construct (usually) in the Win16 environment running on an 8086/8088 or later in real mode, such as Visual C/C++ 1.52. In this environment, near pointers are 16 bits, and far and huge pointers are 32 bits.

What are huge and dangling pointers in C language?

A huge pointer was a special type of pointer used in the WIN161 environment that would allow you to monolithically handle objects of size greater than 64KB as if that were one single address space. If you had the special WIN32 add-on installed, you could declare and use huge pointers natively, but normally, you had to do address translation to go from huge to far and from far to huge.A dangling pointer is not something I have heard of. The closest I can interpret this is a misunderstanding of dangling if statements, although it could be a reference to leaking memory through unallocated pointers that go out of scope before they are freed. Please restate the question, with better details.1 Today, with true 32 and 64 bit operating systems abounding, the concept of near, far, and huge pointers is obsolete and archaic. The need to deal with them disappeared with Visual Studio 1.52 and Windows 3.1. (Of which I still have working copies. :-)>)

People also asked