??? 12/14/06 13:32 Read: times |
#129445 - Not want, but have to Responding to: ???'s previous message |
In most cases you don't want to do it in assembler, but in reality you'll have to.
I wouldn't want to write assembler to get the address of the caller so I can log it. But as said there is no standard function or keyword defined for it in C so you'll have to. And when writing assembly all responsibility is upon you. I believe GCC has an extension for this. Maybe other (PC) compilers have too. |
Topic | Author | Date |
Help me for inline assembly | 01/01/70 00:00 | |
wait a min! | 01/01/70 00:00 | |
Explain! | 01/01/70 00:00 | |
Help me for inline assembly | 01/01/70 00:00 | |
How 'C' systems start. | 01/01/70 00:00 | |
how to link the assembled file | 01/01/70 00:00 | |
You still haven't said | 01/01/70 00:00 | |
RTFM | 01/01/70 00:00 | |
Keil C51 and the SRC directive | 01/01/70 00:00 | |
Before you go there... | 01/01/70 00:00 | |
sometimes inline assembler is because | 01/01/70 00:00 | |
Heh. | 01/01/70 00:00 | |
absolutly! | 01/01/70 00:00 | |
To Access Stack | 01/01/70 00:00 | |
Why ? | 01/01/70 00:00 | |
not necessarily | 01/01/70 00:00 | |
That's my line! | 01/01/70 00:00 | |
Still ... | 01/01/70 00:00 | |
I think ... | 01/01/70 00:00 | |
The only useful information on the stack ... | 01/01/70 00:00 | |
Yes, but... | 01/01/70 00:00 | |
Not want, but have to![]() | 01/01/70 00:00 |