From: sparky4 Date: Tue, 30 Jun 2015 02:04:06 +0000 (-0500) Subject: wwww damn X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=9368c51b49bad9b2781a67ffde6f1513994e5620;p=16.git wwww damn modified: fmemtest.exe modified: src/fmemtest.c --- diff --git a/fmemtest.exe b/fmemtest.exe index 2bb011c1..9d13c38f 100644 Binary files a/fmemtest.exe and b/fmemtest.exe differ diff --git a/src/fmemtest.c b/src/fmemtest.c index 83012799..8d9ca6b3 100644 --- a/src/fmemtest.c +++ b/src/fmemtest.c @@ -19,8 +19,8 @@ * Fifth Floor, Boston, MA 02110-1301 USA. * */ - #include +#include "src/lib/types.h" void main(int argc, char *argv[]) @@ -28,6 +28,7 @@ main(int argc, char *argv[]) int x=420; int huge *ptr=&x; int *ptr0=&x; + //word csw=0,dsw=0,esw=0,ssw=0,ipw=0; //ptr=&x; printf("&main()=%Fp\n", *argv[0]); @@ -40,4 +41,18 @@ main(int argc, char *argv[]) printf("address of *ptr=%Fp\n", *ptr); printf("&x=%Fp\n", &x); printf("x=%d\n", x); + printf("\n"); + /*__asm + { + //lea csw,cs + //lds DS,dsw + //les ES,esw +// mov ss,ssw +// mov ip,ipw + }*/ + //printf("ip=%u\n", ipw); + //printf("ss=%u\n", ssw); + //printf("cs=%u\n", csw); + //printf("ds=%u\n", dsw); + //printf("es=%u\n", esw); }