| ??? 11/26/02 15:35 Read: times |
#33190 - RE: C++ style in C. mahmood |
I believe the chip uses registers for passing parameters and, otherwise, puts them on the stack. If you've got a large program and limited space, as in the project I am working on now, you run the risk of stack overflow with parameter passing and are therefore stuck with globals.
making a parameter globas does not save memory space. If you HAVE to pass tons of data to a function pass a DATA pointer to an XDATA structure. Erik |
| Topic | Author | Date |
| C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C/ Erik | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C/ Erik | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. //Judy / Erik | 01/01/70 00:00 | |
| RE: C++ style in C. mahmood | 01/01/70 00:00 | |
| RE: C++ style in C. Erik | 01/01/70 00:00 | |
| RE: local global???!!!?!?!?! | 01/01/70 00:00 | |
| RE: local global???!!!?!?!?! | 01/01/70 00:00 | |
| RE: local global???!!!?!?!?! | 01/01/70 00:00 | |
| RE: C++ style in C | 01/01/70 00:00 | |
RE: C++ style in C. mahmood | 01/01/70 00:00 |



