Thank you !!
It seems like it is an adressing mode problem.
I am trying to use EXT adressing mode when it is not accepted.
That way I already solved a part of my problem, paying more attention to the documentation.
But now I wish to use another instruction (namely branch if bit is clear, brclr), it gives me the same kind of error:
Unknown Opcode Operand Combination: Opc.: BRCLR/Dst.: SP8/Src.: Bit0
for a function defined like that.
void function(void){
unsigned char ucStatusTmp = ucStatus;
__asm{
brclr 0,ucStatusTmp,WAIT_SYNCHRO_CLK
WAIT_SYNCHRO_CLK:RTI
}
}
Message Edited by Barth on 2006-08-18 01:00 AM