Hi, all.
Althogh I'd like to use inline assembler on Code Warrior 5, but the compile
result is unbeleivable!
CW 5 raises the illegal addressing mode error about following code
asm void
foo ( void )
{
link.w a6, +0x04
lea.l 0xfffff305, a0 // Here illegal addressing mode error
bclr 0x0002, a0 // Here illegal addressing mode error
unlk a6 // Here illegal addressing mode error
rts
}
Do I make some mistake to write the code?
I feel that I could write the code according 68000 programmers reference........
What is the error reason? I can't understand............
Or are there some environment parameter should be checked in CW5?
Thanks, Ciao!
Kazushige Matsui
-------------------------------------------------------
Network Product Development, Application Design, Yasu IBM-Japan
Tie : 1617-8374
TEL : 077-587-8374
FAX : 077-587-8484
e-mail : [EMAIL PROTECTED]