??? 12/30/04 11:20 Read: times |
#84101 - Not even true ! Responding to: ???'s previous message |
Kiran V. Sutar said:
In situations where I need to define a lot of variables, I generally define a global Buffer of 16 bytes. This buffer is used as scratch pad in many routines. This helps me reducing the number of global variables and makes my code run faster. This is not true on the Keil C51 ! The Keil love local variables and use registers in this case. and also, if many variables are needed, the Keil can overlay local variables even better, as a human can do it. Please look on the assembler output, the Keil use PUSH and POP very rarely almost only in interrupt handlers. Peter |
Topic | Author | Date |
C Code t o Assembly | 01/01/70 00:00 | |
C to Asm | 01/01/70 00:00 | |
C Code t o Assembly | 01/01/70 00:00 | |
only one table | 01/01/70 00:00 | |
Need some more details | 01/01/70 00:00 | |
Not even true ! | 01/01/70 00:00 | |
Answer is Wrong!! | 01/01/70 00:00 | |
Re : previous 3 replies and Paul | 01/01/70 00:00 | |
Previously on 8052.com | 01/01/70 00:00 | |
Overflow | 01/01/70 00:00 | |
just one array | 01/01/70 00:00 | |
too limited, Paul | 01/01/70 00:00 | |
Nothing to do with scope | 01/01/70 00:00 | |
Agreed | 01/01/70 00:00 | |
No success ! | 01/01/70 00:00 | |
Re: Peter | 01/01/70 00:00 | |
to assembly | 01/01/70 00:00 | |
Example code | 01/01/70 00:00 | |
Any unused functions in your program? | 01/01/70 00:00 | |
query | 01/01/70 00:00 | |
Off-Topic - start a new thread | 01/01/70 00:00 | |
... and use a _descriptive_ subject!![]() | 01/01/70 00:00 |