From: Massimo G. <mas...@gm...> - 2008-02-28 13:50:57
|
Hello, I'm using SDCC on PIC 16F target. Now I need to use inline assembly function to manage data on local variables. How can I use local variables within inline assembly code? My case is: unsigned char handle (unsigned char data) { unsigned char temp; _asm some_assembly_manipulation on temp _endasm; return temp; } I can't find the way to reference variable 'temp' in inline assembly code. Thank you, Massimo. |