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.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user