Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!inuxc!pur-ee!j.cc.purdue.edu!h.cc.purdue.edu!pur-phy!newton!wwc From: wwc@newton.physics.purdue.edu (William W. Carlson) Newsgroups: net.micro.pc Subject: Re: MSC V4.0 - ROMable code? Message-ID: <486@newton.physics.purdue.edu> Date: Fri, 26-Sep-86 10:36:58 EDT Article-I.D.: newton.486 Posted: Fri Sep 26 10:36:58 1986 Date-Received: Tue, 30-Sep-86 03:42:06 EDT References: <3720@mnetor.UUCP> <211@osi3b2.UUCP> Reply-To: wwc@newton.physics.purdue.edu.UUCP (William W. Carlson) Organization: Purdue Univ. Physics Dept., W. Lafayette, IN Lines: 20 Keywords: Can MSC generate ROMable code? It is entirely possible to generate ROMable code with the MSC compiler. I have done it with V3.0 and have no doubt the same is true for V4.0 (I havn't gotten my update yet). It is true you will have to write your own startup code, but all that involves is intializing the segment registers and setting up the stack pointer to somewhere useful. Also, you will need to write a little masm code to put in a jmp insturction at FFFF0H to the startup code you write. I have mainly used small model stuff, which makes the DS setup easier, but with a little work any model should be able to work. I wholeheartedly agree with the other followup that MSC generates great code, I have looked at some of it and can't see how one would do much better, even in assembly. MSC V4.0 claims to have improved the optimization, which should make it even better! Bill Carlson wwc@newton.physics.purdue.edu ..!ihnp4!pur-ee!wwc