Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!att!cbnewsm!gregk From: gregk@cbnewsm.ATT.COM (gregory.p.kochanski) Newsgroups: comp.lang.c++ Subject: Zortech / ROMable code Message-ID: <8806@cbnewsm.ATT.COM> Date: 24 Jan 90 13:32:05 GMT Reply-To: gregk@cbnewsm.ATT.COM (gregory.p.kochanski,mh,) Organization: AT&T Bell Laboratories Lines: 25 I am posting the following for Edward Rietman, ear\@allwise.att.com. I believe this to be correct, but haven't tried it myself. The following program cannot be successfully placed in ROM by Zortech 2.00. main() { int far *a, sum; a = (int far *)0x7000L; a[0] = (int)(2.0); a[1] = (int)(3.0); sum = *a++; sum += *a++; *a = sum; while(1); } It works under Microsoft 5.1. Ed was interested in Zortech because it promised ROMable floating point emulation. No such luck, apparently. Has anyone tried this kind of thing? Greg Kochanski AT&T Bell Laboratories. gpk\@physics.att.com Physics for fun and profit.