Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!wuarchive!uunet!overload!dillon From: dillon@overload.Berkeley.CA.US (Matthew Dillon) Newsgroups: comp.sys.amiga.programmer Subject: Re: Short Hello World Message-ID: Date: 15 May 91 19:24:18 GMT References: <1804@tardis.Tymnet.COM> <1991May7.001146.1830@cinnet.com> <1991May10.103117.4270@cs.umu.se> <1991May11.072139.781@starnet.uucp> <07867.AA07867@babylon.rmt.sub.org> Organization: Not an Organization Lines: 25 In article <07867.AA07867@babylon.rmt.sub.org> rbabel@babylon.rmt.sub.org (Ralph Babel) writes: >In article , >dillon@overload.Berkeley.CA.US (Matthew Dillon) writes: > >> Uh, actually, you don't want to use CLR either if you can help it >> because CLR always *reads* the ea before writing a 0 to it. This >> true all the way through 020's at least. > >Only the 68000 and the 68008 are affected. BTW: Does DICE >offer an option to avoid the CLR instruction (e.g. on >volatile objects)? > >Ralph DICE only uses CLR in a few cases such as when pushing 0 on the stack (as a space optimization). Beyond that, it never uses CLR except on registers sometimes. -Matt -- Matthew Dillon dillon@Overload.Berkeley.CA.US 891 Regal Rd. uunet.uu.net!overload!dillon Berkeley, Ca. 94708 USA