What Yu want? What Yu want? typ dt.c #include #include struct unaligned { short two_ words[2]; char a_byte; int x; }; main() { void junk_sub(struct unaligned); static struct unaligned bad_data; int i; printf("%d\n",&bad_data.x); for(i=0;i<100000000;i++) bad_data.x = 47; printf("Data initialized\n"); junk_sub(bad_data); } What Yu want? type js.c struct unaligned { short two_words[2]; char a_byte; int x, }; void junk_sub(struct unaligned zz_top) { int zz; zz = zz_top.x; } What Yu want? What Yu want? cc js What Yu want? cc dt What Yu want? link dt,js,sys$1ibrary:vaxcrtl/lib What Yu want? What Yu want? What Yu want? show status Status on 13-MAY-1992 16:45:35.26 Elapsed CPU : 0 00:00:15.07 Buff. I/O : 452 Cur. ws. : 512 Open files : 0 Dir. I/O : 280 Phys. Mem. : 245 Page Faults : 3773 What Yu want? r dt 3961 Data initialized What yu want? show status Status on 13-MAY-1992 16:48:39.38 Elapsed CPU : 0 00:02:57.99 Buff. I/O : 464 Cur. ws. : 512 Open files : 0 Dir. I/O : 281 Phys. Mem. : 235 Page Faults : 3915 What yu want? What Yu want? type dt2.c #inclue #include struct aligned { int x; short two words[2]; char a byte; }; main() { void junk sub(struct aligned); static struct aligned good_data; int i; printf("%d\n",&good_data.x); for(i=0;i<100000000;i++) good_data.x = 47; printf("Data initialized\n"); junk_sub(good_data); } What Yu want? typ js2.c struct aligned } int x; short two_words[2]; char a_byte; }; void junk_sub(struct aligned zz_top) { int zz; zz = zz top.x; } What Yu want? What Yu want? cc dt2 What Yu want? link js2 What Yu want? link dt2,js2,sys$1ibrary:vaxcrtl/lib What Yu want? What Yu want? show status Status on 13-MAY-1992 16:49:48.45 Elapsed CPU : 0 00:00:13.54 Buff. I/O : 369 Cur. ws. : 512 Open files : 0 Dir. I/O : 280 Phys. Mem. : 261 Page Faults : 3136 What Yu want? r dt2 3956 Data initialized What Yu want? show status Status on 13-MAY-1992 16:51:45.20 Elapsed CPU : 0 00:01:56.10 Buff. I/O : 381 Cur. ws. : 512 Open files : 0 Dir. I/O : 281 Phys. Mem. : 273 Page Faults : 3214 What Yu want? What Yu want? What Yu want? type noise.c #inlude #include struct unaligned { short two_words[2]; char a_byte; int x; }; main() { void junk_sub(struct unaligned); static struct unaligned bad_data; int i; printf("%d\n",&bad data.x); for(i=0;i<100000000;i++) ; /* Loop and execute null statement. */ printf("Data initialized\n"); junk sub(bad data); } What Yu want? What Yu want? cc noise What Yu want? link noise,js,sys$1ibrary:vaxcrtl/lib What Yu want? What Yu want? show status Status on 13-MAY-1992 17:42:50.54 Elapsed CPU : 0 00:00:08.49 Buff. I/O : 180 Cur. ws. : 512 Open files : 0 Dir. I/O : 218 Phys. Mem. : 245 Page Faults : 1999 What Yu want? run noise 3961 Data initialized What Yu want? show status Status on 13-MAY-1992 17:44:12.02 Elapsed CPU : 0 00:01:22.72 Buff. I/O : 192 Cur. ws. : 512 Open files : 0 Dir. I/O : 219 Phys. Mem. : 282 Page Faults : 209 What Yu want?