Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!unmvax!tut.cis.ohio-state.edu!cs.utexas.edu!oakhill!davet From: davet@oakhill.UUCP (David Trissel) Newsgroups: comp.arch Subject: Re: Endian reversing MOVEs Keywords: Code-wars Message-ID: <1828@oakhill.UUCP> Date: 8 Feb 89 23:15:14 GMT References: <759@atanasoff.cs.iastate.edu> <772@atanasoff.cs.iastate.edu> <776@atanasoff.cs.iastate.edu> Reply-To: davet@oakhill.UUCP (David Trissel) Organization: Motorola Inc., Austin Tx. Lines: 9 On the M68000 architecture: ROTL.W #8,D0 SWAP.W D0 ROTL.W #8,D0 No extra register or memory references required. -- Dave Trissel Motorola Austin