• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: asm-blocks: please tell me why I'm being thick :-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: asm-blocks: please tell me why I'm being thick :-)


  • Subject: Re: asm-blocks: please tell me why I'm being thick :-)
  • From: Gerard Iglesias <email@hidden>
  • Date: Thu, 25 Mar 2004 08:16:09 +0100

Well, Ok :(

You put the flag in the compiling line...


I made some test, when in a C++ file I get the same error as you.

When in a C or ObjC fil I get the error :

test.c: In function `baz':
test.c:13: error: matching constraint references invalid operand number

At this line

		li loc1,4 * 89

???

Well in other test I made a long time ago I got very weird behavior
with bery strange asm translation.... I had more luck with this kind of
syntax use :

int bazC(int arg1) {
	register int loc1;
	asm {
		@123
		li loc1,4 * 89
		nand. r5,arg1,loc1
		ble- cr0, @123
otherlab: nop
		mr r3,r5
	}
}


But for this one I get the same error

I am going to investigate this more time later...

Regards

	GI

Le 24 mars 04, ` 22:18, Gerard Iglesias a icrit :

> just a try...
>
> Did you add this :
>
> OTHER_CFLAGS = "-fasm-blocks"
>
> to the build system ?
>
>
> Le 24 mars 04, ` 01:11, Nigel Perry a icrit :
>
>> I'm trying to use asm-blocks and getting errors saying the first
>> thing in the block is invalid, whatever it is (instruction, register,
>> ...). So I just copied the example in the docs into a new C++ tool
>> . ..
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: asm-blocks: please tell me why I'm being thick :-)
      • From: Nigel Perry <email@hidden>
References: 
 >asm-blocks: please tell me why I'm being thick :-) (From: Nigel Perry <email@hidden>)
 >Re: asm-blocks: please tell me why I'm being thick :-) (From: Gerard Iglesias <email@hidden>)

  • Prev by Date: Re: asm-blocks: please tell me why I'm being thick :-)
  • Next by Date: Re: asm-blocks: please tell me why I'm being thick :-)
  • Previous by thread: Re: asm-blocks: please tell me why I'm being thick :-)
  • Next by thread: Re: asm-blocks: please tell me why I'm being thick :-)
  • Index(es):
    • Date
    • Thread