Article View: gnu.gcc.help
Article #49566transparent translation registers
From: Steve Morris
Date: Thu, 06 Jan 1994 14:27
Date: Thu, 06 Jan 1994 14:27
40 lines
2042 bytes
2042 bytes
Text item: Text_1
I am using gcc version cygnus-2.2.3 from VxWorks 5.1, cross-compiling to
68030 and 68040 boards.
I need to use the transparent translation registers directly. For the
68040 boards I have no problems setting DTT0 and DTT1.
/* read/write enable, cache disable $40000000-$77ffffff */
#define DTT0_VALUE 0x403fc060
asm( "movec %0,dtt0" : : "r" (DTT0_VALUE) ) ;
However the equivalent instruction for the 68030 registers TT0 and TT1
does not seem to assemble.
/* read/write enable, cache disable $40000000-$77ffffff */
#define TT0_VALUE 0x403f8507
asm( "movem %0,tt0" : : "r" (TT0_VALUE) ) ;
This results in "operands mismatch"
Can anyone help me?
Steve Morris
----------------------------------------------------------------------
Steve Morris voice: (972)-8-381055
Software Team Manager (972)-8-381818
Indigo Graphic Systems Fax: (972)-8-408091
P.O. Box 150, Rehovot, Israel e-mail: morriss@smtplink.indigo.hellnet.org
----------------------------------------------------------------------
Technical Details
Message-ID:
<9401061610.A22838@smtplink.indigo.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!smtplink.INdigo.hellnet.ORG!morrissShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,60967033c15cce87,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-06 06:43:52 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!smtplink.INdigo.hellnet.ORG!morriss From: morriss@smtplink.INdigo.hellnet.ORG (Steve Morris) Newsgroups: gnu.gcc.help Subject: transparent translation registers Date: 6 Jan 1994 09:27:56 -0500 Organization: GNUs Not Usenet Lines: 41 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9401061610.A22838@smtplink.indigo.com>