answersLogoWhite

0


Best Answer

You may have misunderstood something. Choose Huge Model,and forget about near and far. (Honestly, this topic is outdated by twenty years!)

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why Near pointers are used for all code and data references in huge memory model for turbo C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you make a memory card game on turbo pascal?

you cant u stupid


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 !


Major difference of turbo c and ansi c and its structures?

Turbo C is an earlier C compiler from Borland. ANSI C is the standard for the C programming language. Therefore, the two are different by definition - Turbo C is a computer program, and ANSI C is a specification for a computer program, which can be implemented in various ways. If we rephrase the question as "what are the difference between the C versions as depicted in the ANSI standard and as implemented in Turbo C?" I would say that most are PC-specific such as the use of far pointers.


What is far and near pointer and how are they used?

It is a matter of the memory model you are using. On old or embedded systems, some memory was outside of the range of a normal pointer. If you have 4 megs of ram you need at least a 22bit pointer to see all of it. But let's say you only have a 16 bit pointer. This means you can only access the first 65K of ram. Odd as it may sound, this was a problem on old computers, and is sometimes an issue on embedded devices with limited processing power. The near and far classifications were a solution. Pointers are near by default. In my example above, the 65K of ram would be accessed with a near pointer. To get past that 16 bit limit, you need a far pointer. Thus: memory within the pointer's range is near. Memory outside of the range is far. Near pointer: char near * ptr; Far pointer: char far * ptr;A far pointer uses both the segment and the offset address to point to a location in memory. A near pointer in contrast uses only the offset address and the default segment. The far pointer can point to any location in memory, whereas the near pointer can only point to a nearby local address.Something that was important 20 years ago. Now you can forget it.


Discuss why the damper winding are not used in turbo generator?

It is definitely used in a turbo-generator

Related questions

Does a 1995 VW jetta have turbo?

it has a turbo diesel model.


Supra mkiv turbo 0-60mph for?

The Toyota Supra MKIV Turbo's 0-60mph time is;Japanese Turbo model= 5.1 seconds.US Turbo model= 4.6 seconds.


What model turbo is in 1995 850 turbo Volvo?

mitsu.td04-15g


How much is a coil pack for a Mitsubishi eclipse?

It depends on what year model eclipse u have is it the turbo or non turbo model


When was the 911 Turbo model first released?

The Porsche 911 Turbo model was first introduced in 1974. The model stopped seeing production in 1989, but later 911 models always had a turbo charged version for sale.


How fast can a Porsche 911 Turbo go?

Fast. Depends on year and model (Turbo, Turbo S, etc.)


What is gas mileage on 1998 Mitsubishi eclipse?

This depends on if the eclipse is automatic or manual and also if it is the turbo model or the non-turbo model.


Can you get a factory turbo on Chevy cruze?

Yes, there are option for turbo on the LT model, and now they have a Cruze SS, Turbo charged and fully loaded


How do you make a memory card game on turbo pascal?

you cant u stupid


Is Isuzu sportivo 2009 model equipped with turbo?

no


What is the difference between 911 turbo and the 911 turbo s?

About 40 hp, and the S model is .3 seconds faster in 0-60 mph....also many optional features in the Turbo model are standard in the S version.


What is turbo c variables?

Turbo C variables are memory place holders for storage of data during the execution of a Turbo C program. Types of variables include integer, real and char.