Hi, r0 is an ARM register and you cannot compile ARM assembly with a 68k compiler. It seems that you are not using the correct application template to build an ARM application. Chris
> From: [EMAIL PROTECTED]> To: palm-dev-forum@news.palmos.com> Subject: asm > code in PODS results in unknown register name r0> Date: Wed, 26 Sep 2007 > 22:44:55 +0000> > > This is part of a program I'm trying to compile in PODS. > It compiles with prc-tools in linux but I'm trying to port it to PODS. > > > asm("mrc p15, 0, r0, c0, c0, 0\nmov %0, r0": "=r"(value): :"r0");> > asm("mrc > p15, 0, r0, c3, c0, 0\nmov %0, r0": "=r"(value): :"r0");> > (there are more > of these calls, they pretty much look like this)> > but m68k-palmos-gcc is > complaining about about the above line.> > it says "unknown register name > `r0' in `asm'"> > I really don't know jack about asm so any help would be > appreciated. I try to stay away from machine code. I think it's just a syntax > error about clobbering but I dont see it.> > Thanks> > > -- > For information > on using the ACCESS Developer Forums, or to unsubscribe, please see > http://www.access-company.com/developers/forums/ _________________________________________________________________ Essayez Live.com et créez l'Internet qui vous ressemble : infos, sports, météo et bien plus encore ! http://www.live.com/getstarted -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/