Hi folks, I tried to search the archieves, but the SourceForge search doesn't work (maybe I am just to stupid to use it...). I want to use a variable I declared localy in a function in inline assembly. But if I try to access the variable like:
unsigned char tmp; _asm push _tmp _endasm I get a linker warning about the undefined global _tmp and in ASM-Code i can see that instead of the _tmp variable the memory location 0 is accessed. Is there a way of accessing local Variables in _asm or do I have to declare it global? Thanks Dominik -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user