??? 12/14/06 21:51 Read: times |
#129503 - If you write C, then use C ! Responding to: ???'s previous message |
You must decide, writing in C or in assembler.
Under C the stack was a forbidden area, only the compiler itself can and must rule over the stack. This is one of the advantages of C, that you no longer must do dangerous things with the stack. If you write C, then use C style parameter passing and nothing else ! E.g. variables, arrays, structures, arguments, return expressions and so on. Peter |
Topic | Author | Date |
Help me for Push and POP in C | 01/01/70 00:00 | |
Here be dragons! | 01/01/70 00:00 | |
Just like inline assembler! | 01/01/70 00:00 | |
Don't do it | 01/01/70 00:00 | |
I suspect this is just not bothering to understand | 01/01/70 00:00 | |
Alternatively | 01/01/70 00:00 | |
It is a bad idea for any cpu | 01/01/70 00:00 | |
If you need a queue, use (write) one | 01/01/70 00:00 | |
Use inline Assembly for this purpose | 01/01/70 00:00 | |
The Stack | 01/01/70 00:00 | |
Task switching![]() | 01/01/70 00:00 | |
Noooo!!!!!! | 01/01/70 00:00 | |
If you write C, then use C ! | 01/01/70 00:00 |