Hello. my name is santosh. i need some help in selecting a compiler. i am developing an embedded application which is crossing 64KB code size and i am using AT89C51RE2 microcontroller which is having (will support) 128 Kbytes of on-chip ROM (code memory). My problem is, when i am compiling the code, target is not created i.e. hex file is not generating, becoz my compiler supports maximum 64 KBytes. So, plz suggest me a right compiler which should support uoto 128 Kbytes and also tell me how i obtain from keil.
Thanks and regards, santosh.
Declaring variables as xdata makes the code bigger.
So you want variables what are large or used at few locations to be stored in xdata, while the small and popular variables uses the best possible addressing modes.
And you want to make sure that you use bit variables when possible.
before we go on, where are you? can you fit it in 68k, in 72k in 100k ....
Erik