Path: utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!bloom-beacon!eru!hagbard!sunic!sics.se!vall!fk From: fk@vall.dsv.su.se (Fredrik Kilander) Newsgroups: comp.sys.atari.st.tech Subject: Re: Sozobon asm Message-ID: <899@vall.dsv.su.se> Date: 13 Sep 90 13:16:53 GMT References: <18420003@hpsad.HP.COM> Organization: University of Stockholm, Sweden Lines: 31 In article <18420003@hpsad.HP.COM> randyh@hpsad.HP.COM (Randy Hosler) writes: >I need some help with a problem. The following source fragment is for >MEGAMAX C. I'm trying to compile it with Sozobon and it barfs on this >asm code. Could some kind soul show me how to get Sozobon to accept >this code. The var 'program' is a pointer to char. [lines deleted] > movem.l A6-A4,-(A7) > move.l program,-(A7) [lines deleted] >------------------------------------------------------------------------ In my experience Sozobon's asm will only accept lowercased symbols for register names. Remember that it is not a full assembler but targeted to assembling output from the compiler. Why this should prevent it from understanding either a3 or A3 I don't know. Btw, I've come across a bug in asm which may be fixed by now. It concerns the btst instruction which compiles into 4 bytes when it should be 6 (or possibly the other way around, my memory is a bit dim on this). Anyway, if anyone knows for certain how to obtain fresher code or a patch, I'd appreciate an email to this effect. =============================================================================== Fredrik Kilander, Dpt. of Computer and Systems Sciences, Stockholm University Internet: fk@dsv.su.se Voice: +46 8 16 45 00 Fax: +46 8 703 90 25 =============================================================================== -- =============================================================================== Fredrik Kilander, Dpt. of Computer and Systems Sciences, Stockholm University Internet: fk@dsv.su.se Voice: +46 8 16 45 00 Fax: +46 8 703 90 25 ===============================================================================