This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

4kB compiling

hello to all

I am using uVision to program the atmel at89c51 microcontroller. My code is slightly smaller than 4kb, as this chip has a 4kb memory. However, uVision has only two options for the size of the compling target, 2k and 64k. When i compile my code in 64k mode, the hex file is about 12kb(!), too large for the chip. What can i do to fix it?

0