Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.programmer Subject: Re: New life for MOVEM! Message-ID: <19100@cbmvax.commodore.com> Date: 19 Feb 91 06:32:45 GMT References: <1991Feb11.160212.7749@vax1.tcd.ie> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 20 In article <1991Feb11.160212.7749@vax1.tcd.ie> smcgerty@vax1.tcd.ie writes: >Here's a little trick that someone might find useful: >(maybe its common knowlage?) Yes. [example of movem-loop follows..] Or you could use CopyMem() (or CopyMemQuick() when you know the source and destination are aligned). They use movem-loops when possible. (In fact, under 2.0 CopyMem is adaptive to the processor in use). Suprising what you can do when you use the OS.... -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup The compiler runs Like a swift-flowing river I wait in silence. (From "The Zen of Programming") ;-)