Taking the advice from Drew Davis,I defined all function with REENTRANT.After compiling and linking ,RAM reduced more than 200 bytes.But the program can not drive the LCD well even a black point on LCD,while the DataBus is always transmitting message to LCD.Has any solution to reduce and manage RAM? Best regards, Nantiangumo