Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!wuarchive!usc!apple!voder!wlbr!pete From: pete@wlbr.imsd.contel.com (Pete Lyall) Newsgroups: comp.os.os9 Subject: Re: assembly programming Message-ID: <1991Jan17.192952.15534@wlbr.imsd.contel.com> Date: 17 Jan 91 19:29:52 GMT References: <6JqVV2w163w@mofh> Reply-To: pete@wlbr.imsd.contel.com.UUCP (Pete Lyall) Organization: Contel FSD, Westlake Village, CA Lines: 23 Re: assembly and os9 (assuming you meant os9/6809) - Three best things to do are: 1) Read the technical manual.. pretty much cover to cover. It will give you a lot of insight as to how things are done, what registers are used, and what conventions are. 2) Assemble and list the DEFS files. You can either override the NOLIST options, or just temporarily edit the files to omit them. Example: asm l l l /dd/defsfile #24k >/p (note: asm's list option 'l' is a counter.. this it biases that counter to be very positive before the assembly starts). 3) Grab and dissect existing OS9 ASM source. Plenty of it available on CompuServe, and probably on Delphi and the CocoList server as well. Pete Lyall -- Pete Lyall Contel Corporation Compuserve: 76703,4230 OS9_Net: (805) 375-1401 (24hr 300/1200/2400) Internet: pete@wlbr.imsd.contel.com UUCP: {hacgate,jplgodo,voder}!wlbr!pete