Hi,
I have a large memory allocated in my program and was trying to print
the values read (byte by byte) since the pointer in turboc is 2 bytes,
I used a char far pointer to the calculted address and dereferenced
it. But some how the value equivalent to deferenced value of the char
pointer instead of char far pointer.
E.g
val=*((char far *)calculated_address);
is equivalent to
val=*((char *)calculated_address);
for addresses which require more than 2 bytes.
So my question is how to dereference addresses more than 2 bytes?
I am stuck with turboc, please don't suggest changing to different
compiler, it is not a option at all.
Thanks
vishal