A89: Re: TIGCCLIB 2.0 released!


[Prev][Next][Index][Thread]

A89: Re: TIGCCLIB 2.0 released!




Hi!

>> asm("lea "_str_(LCD_MEM)",%a0")
>> will expand to
>> asm("lea 0x4C00,%a0")
> 
> Ahh, that's right.  Just curious, is it the same in C++?  The Codewarrior
> we run in my Computer Science class (an old Mac version) doesn't seem to 
> be able to handle string concatenation like that, among some other odd 
> bugs.

I forgot that a better method exist too:

asm("lea %0,%%a0"::"g"(LCD_MEM))

Zeljko Juric




Follow-Ups: