??? 03/11/06 17:06 Read: times |
#111980 - SRAM overrated Responding to: ???'s previous message |
Often I have seen, that the requirement of SRAM was totally overrated.
I use always only the internal SRAM (128 byte on the AT89C2051 up to 8kB on the P89C668). If you use a C compiler, it can very economical deal with the SRAM to overlay all the needed local variables (reading the C51 primer tell you why). So the case can occur, that on programming in C less SRAM was needed as on programming in assembler. Especially on bigger programs, the linker can do the job better than a human. Peter |