Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!atanasoff!hascall From: hascall@atanasoff.cs.iastate.edu (John Hascall) Newsgroups: comp.arch Subject: Re: Endian reversing MOVEs Message-ID: <772@atanasoff.cs.iastate.edu> Date: 7 Feb 89 17:14:59 GMT References: <759@atanasoff.cs.iastate.edu> Reply-To: hascall@atanasoff.cs.iastate.edu (John Hascall) Organization: Iowa State U. Computer Science Department, Ames, IA Lines: 17 In article jk3k+@andrew.cmu.edu (Joe Keane) writes: >John Hascall writes: >> ; >> ; Move and Reverse Endian-ness Longword >> ; [....] >That's 11 memory references for something which has nothing to do with memory. >It only takes 6 instructions (0 memory references) on the RT. Well, if you have a better method, then by all means post it. BTW, I could do it in less than 11, if I assumed somethings about the addressing mode of the operands and/or the availability of a register to work in, but for my situation I neeeded a completely general method. John Hascall