In SX Microcontrollers, SX/B Compiler and SX-Key Tool, heich wrote: Hi John Thanks for your answer. Here is the code attached, my lines are all the DATAS after the Pgm_ID label. They're the ASCII commands required to set up a GPRS modem connection. (i've changed the server addres, and the Host IP addres ). My subroutines are between Get_Info and Get_Valid labels, plus a TX_STR routine (taked from SXB Reference Manual) to replace the original TX_BYTE routine [quote="JohnyMac"] What may be happening -- and one can only speculate without seeing your code -- is that you are using a lot of native instructions (e.g. PAUSE) that each consume code space [/quote] In fact, there is a routine called WAIT_MS that i removed thinking that PAUSE would give me more space than. After reading your post i changed all those PAUSE commands to WAIT_MS calls, and it worked! The code is working, but i still have the Page trouble. I wish to know if there is a sample code somewhere to understand the page boundaries. And to know how much memory i am using. Perhaps this comment is useless, on Microchip MPLAB IDE there is a window called "Program Memory" wich allows to see the memory addreses used by program, and to determine the Page locations. Is on parallax tools something similar? Thanks, again Regards Hector ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=237315#m237333 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)