Hi,
i used PIC16f877a in interfacing analog joystick ,and using micorC . when i compiled i got the error Routine too large m i got the this problem is due to max page is 2000 instruction , could any one explain that and offer some solutions but not to change this MCU
The most likely issue is a code size limit of 2k instructions on your version of MikroC Compiler.
According to MikroE's website:
Download and try out the software - FOR FREE! Software is equipped with fully functional demo license with up to 2K of program words of output code size which can be just enough for simple applications.
Thanks all for your comments and thanks bigdoggruru , could your provide me with simple tips in optmizizng my code , its for interfacing joystick (2axis) 4 positions and i used while loops for every case and in side each one 4 while loops to exit form this cases