[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] PVR
On Tue, May 08, 2007 at 06:29:22PM +0100, jack-uclinux@xxxxxxxxxxxxx wrote:
> I worked around this problem by writing the MTS instruction in machine
> code....
Oops. That should have read:
> I worked around this problem by writing the MFS instruction in machine
> code. The machine code for copying special purpose register X into
> register r3, "mfs r3, X", is ( 0x94608000 | X ). Include this in
> inline assembly using .long.
--
Jack Whitham
jack@xxxxxxxxxxxxx
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/