Hallo, i'm searching for an option to use "C" long variables in an "extended inline assembly block". I don't want use the Registernames (R8, R9, ...) becase i'm not sure that they are stable in newer Compilerversions. Please look at my example:
UINT16 readValFromAdr(long adr) { UINT16 uiData; __asm { EXTS R9,#1 ; <- my Problem MOV uiData,[adr] } return (uiData); }
Have anybody an idee?
Thanks,
Thorsten