[coldfire-gnu-discuss] MCF52233

Paul McConkey paul.mcconkey at cambridgeimaging.co.uk
Fri Nov 24 14:52:45 UTC 2006


It's actually the assembler that deals with the CPU registers.

This is from CODESOURCERY\SOURCE\BINUTILS-2.17\GAS\config\tc-m68k.c(3029):

	    case FLASHBAR:
	    case RAMBAR0:
	      tmpreg = 0xC04;
	      break;
	    case RAMBAR:
	    case RAMBAR1:
	      tmpreg = 0xC05;
	      break;

So you can see that RAMBAR0 is also known as FLASHBAR (at least in this version of the source) :)

Paul.

-----Original Message-----
From: Mats Blide [mailto:matsblide at hotmail.com] 
Sent: 24 November 2006 14:26
To: Paul McConkey; coldfire-gnu-discuss at codesourcery.com
Subject: RE: [coldfire-gnu-discuss] MCF52233

Thanks for your answerer. What about RAMBAR0 :-). I must say I am a bit surprised to finde these built into the compiler. I expected to find such things defined in some header file. I'll try your suggestions.
Rgds
Mats


>From: "Paul McConkey" <paul.mcconkey at cambridgeimaging.co.uk>
>To: "Mats Blide" 
><matsblide at hotmail.com>,<coldfire-gnu-discuss at codesourcery.com>
>Subject: RE: [coldfire-gnu-discuss] MCF52233
>Date: Fri, 24 Nov 2006 14:14:19 -0000
>
> > The switch I used -m528x made runnable code, but the code I now try 
> > to
>assemble contains reference to RAMBAR1
> > giving me compilation error with switch -m528x but not with -m5200.
>I'm a complete beginner with GNU tools and
> > coldfire. So this might be a stupid question, but any help is
>appreciated.
>
>With some cpu switches gcc appears to use RAMBAR and RAMBAR1 as 
>synonyms as they are the same thing in CF V2 cores, if you still have 
>problems with the -mcpu=52233 switch, try changing the source to refer 
>to RAMBAR instead of RAMBAR1.
>
>
>Cheers,
>
>Paul.

_________________________________________________________________
Premiär 17/11 för Casino Royale! http://www.msn.se/noje/casinoroyale/




More information about the coldfire-gnu-discuss mailing list