[comp.os.os9] assembly programming

fffish@mofh (David Priest) (01/17/91)

  Could someone please point me towards some references/tutorials/etc on 
programming in assembly under OS9?  The manuals I have (the set of Level 
One, and the OS9 Level Two + Multiview pair) are a good start for me, but 
it'd make it easier to learn if I could refer to something that's got some  
pointers and tips&tricks info.
 
  Does Microware stock anything in this vein?  
-----
 atrc!mofh!FFFish@pembina.cs.UAlberta.ca

pete@wlbr.imsd.contel.com (Pete Lyall) (01/18/91)

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