hi, I'm a C51 beginner,I writen a C51 program which generated binary code about 30Kbytes, but in .asm program,it generated binary code only about 16Kbyte. How can I save the C51 program's code size? thanks!
Andrew was correct. I should have said multiple dimension arrays in my previous posts. This access makes the code recalculate the address in loops, rather than just incrementing a pointer. This usually requires one or more multiplies in the code which usually takes awhile. He makes an excellent point that you really need to look at the assembler code that results when you are trying to optimize execution speed or size.