how to make out if the codes that we write have crossed the code memory presnet on the chip ? for example i'm using AT89C2051 which has 2K code menory. i need to know if the codes i've written have crossed this limit. is there any provision / settings in KEIL to detecte the same? kindly hwlp me out. thanx in advance... regards, Bala
In uVision2, on the menu select: Project | Options for Target and under the "Target" tab, set the "Code Size" parameter to "Small: program 2K or less". If you had selected the correct device for the target, then I would expect this setting to already be correct, and you will get a compile error if there is more than 2k of code.
thank you richard