==This is the results of borland c's segment pointers==\r
These are the various memory models of the 8088 that are demonstrated here!\r
==tiny==\r
-local variable bee= 168E:FFF4\r
-far pointer value of pee= 168E:168E\r
-pointer value of pee= 168E\r
+local variable bee= 16B8:FFF4\r
+local variable bee= FFF4\r
+far pointer value of pee= 16B8:16B8\r
+pointer value of pee= 16B8\r
==small==\r
-local variable bee= 0116:FFF4\r
-far pointer value of pee= 0116:0116\r
-pointer value of pee= 0116\r
+local variable bee= 0130:FFF4\r
+local variable bee= FFF4\r
+far pointer value of pee= 0130:0130\r
+pointer value of pee= 0130\r
==medium==\r
-local variable bee= 02FB:FFF2\r
-far pointer value of pee= 02FB:02FB\r
-pointer value of pee= 02FB\r
+local variable bee= 0340:FFF2\r
+local variable bee= FFF2\r
+far pointer value of pee= 0340:0340\r
+pointer value of pee= 0340\r
==compact is what project 16 uses==\r
-local variable bee= 04DC:1000\r
-far pointer value of pee= 0104:0104\r
-pointer value of pee= 0104:0104\r
+local variable bee= 0524:1000\r
+local variable bee= 0524:1000\r
+far pointer value of pee= 011E:011E\r
+pointer value of pee= 011E:011E\r
==large==\r
-local variable bee= 04E7:0FFE\r
-far pointer value of pee= 02FB:02FB\r
-pointer value of pee= 02FB:02FB\r
+local variable bee= 0530:0FFE\r
+local variable bee= 0530:0FFE\r
+far pointer value of pee= 0340:0340\r
+pointer value of pee= 0340:0340\r
==HUGE GUTS!==\r
-local variable bee= 0508:0FFE\r
-far pointer value of pee= 04C9:0134\r
-pointer value of pee= 04C9:0134\r
+local variable bee= 054F:0FFE\r
+local variable bee= 054F:0FFE\r
+far pointer value of pee= 0510:0134\r
+pointer value of pee= 0510:0134\r
==This is the results of open watcom's base pointers==\r
These are the various memory models of the 8088 that are demonstrated here!\r
==tiny is not found so default==\r
-local variable bee= 0508:0FFE\r
-far pointer value of pee= 04C9:0134\r
-pointer value of pee= 04C9:0134\r
+local variable bee= 06ae:0bfc\r
+far pointer value of pee= 06ae:0000\r
+pointer value of pee= 06ae:0000\r
==small==\r
-local variable bee= 0508:0FFE\r
-far pointer value of pee= 04C9:0134\r
-pointer value of pee= 04C9:0134\r
+local variable bee= 06ae:0bfc\r
+far pointer value of pee= 06ae:0000\r
+pointer value of pee= 06ae:0000\r
==medium==\r
-local variable bee= 0508:0FFE\r
-far pointer value of pee= 04C9:0134\r
-pointer value of pee= 04C9:0134\r
+local variable bee= 06ae:0bfc\r
+far pointer value of pee= 06ae:0000\r
+pointer value of pee= 06ae:0000\r
==compact is what project 16 uses==\r
-local variable bee= 0508:0FFE\r
-far pointer value of pee= 04C9:0134\r
-pointer value of pee= 04C9:0134\r
+local variable bee= 06ae:0bfc\r
+far pointer value of pee= 06ae:0000\r
+pointer value of pee= 06ae:0000\r
==large==\r
-local variable bee= 0508:0FFE\r
-far pointer value of pee= 04C9:0134\r
-pointer value of pee= 04C9:0134\r
+local variable bee= 06ae:0bfc\r
+far pointer value of pee= 06ae:0000\r
+pointer value of pee= 06ae:0000\r
==HUGE GUTS!==\r
-local variable bee= 0669:0bfc\r
-far pointer value of pee= 0669:0000\r
-pointer value of pee= 0669:0000\r
+local variable bee= 06af:0c0a\r
+local variable bee= 06af:0c0a\r
+far pointer value of pee= 06af:0000\r
+pointer value of pee= 06af:0000\r
unsigned bee=0;
memptr pee;
printf("local variable bee= %Fp\n", &bee);
+ printf("local variable bee= %p\n", &bee);
printf("far pointer value of pee= %Fp\n", pee);
printf("pointer value of pee= %p\n", pee);
}