View previous topic :: View next topic |
Author |
Message |
sorasit46
Joined: 07 May 2007 Posts: 69
|
Please help! Out of Rom,A segment or the program is too larg |
Posted: Sun Mar 02, 2008 7:47 am |
|
|
Use 16F876A.
Before out of rom,I just compile success at Rom 41%,Ram 21%.But when type Void xxx(); only 1 command for jump to old void in Main program. Compile result is " Out of Rom,A segment or the program is too large ".
Why out of Rom.....?
Thanks
wait hope!
Last edited by sorasit46 on Sun Mar 02, 2008 10:35 am; edited 1 time in total |
|
![](templates/subSilver/images/spacer.gif) |
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Sun Mar 02, 2008 7:58 am |
|
|
1)-Did you read the Manual?
2)-Did you see the FAQ?
3)-How about searching the forum, before asking?
4)-This is not the compiler support site.
Humberto |
|
![](templates/subSilver/images/spacer.gif) |
Ken Johnson
Joined: 23 Mar 2006 Posts: 197 Location: Lewisburg, WV
|
|
Posted: Sun Mar 02, 2008 8:41 am |
|
|
Humberto's # 3 is the way to go, but he (she?) could have been more tactful - must have had a bad Saturday night, eh?
Try a search
Ken |
|
![](templates/subSilver/images/spacer.gif) |
Franck26
Joined: 29 Dec 2007 Posts: 122 Location: Ireland
|
|
![](templates/subSilver/images/spacer.gif) |
Andreas
Joined: 25 Oct 2004 Posts: 136
|
|
Posted: Sun Mar 02, 2008 12:44 pm |
|
|
Hi Franck26
Can You tell me the difference between the first and the second listing ????
I cant see it
best regards
Andreas |
|
![](templates/subSilver/images/spacer.gif) |
Franck26
Joined: 29 Dec 2007 Posts: 122 Location: Ireland
|
|
Posted: Sun Mar 02, 2008 1:24 pm |
|
|
Hi Andreas,
Yes, it's quite funny: 2 times the same code....
So the solution is in this sentence:
"The solution in this example will be to put a #SEPARATE before the declaration for PROCESS_DATA or maybe one of the other big functions called by MAIN()."
Regards,
Franck. |
|
![](templates/subSilver/images/spacer.gif) |
sorasit46
Joined: 07 May 2007 Posts: 69
|
|
Posted: Mon Mar 03, 2008 3:02 am |
|
|
Oh! Thank you very much;From your advice.Now I can solve my problem.
In the world have many kind of human.
I am so glad to meet you.Because you are kindness human.
Regard |
|
![](templates/subSilver/images/spacer.gif) |
sorasit46
Joined: 07 May 2007 Posts: 69
|
|
Posted: Mon Mar 03, 2008 3:09 am |
|
|
Humberto wrote: | 1)-Did you read the Manual?
2)-Did you see the FAQ?
3)-How about searching the forum, before asking?
4)-This is not the compiler support site.
Humberto |
I'm sorry is my question disturb you.
In the world have many kind of human.
I have bad luck to meet you, like you to read my question.
In future if you see my post with name " Sorasit46 " .Beg you do not see my post. I will thank you alot.
Bye you forever |
|
![](templates/subSilver/images/spacer.gif) |
sorasit46
Joined: 07 May 2007 Posts: 69
|
|
Posted: Mon Mar 03, 2008 3:12 am |
|
|
Franck26 wrote: | Hi Andreas,
Yes, it's quite funny: 2 times the same code....
So the solution is in this sentence:
"The solution in this example will be to put a #SEPARATE before the declaration for PROCESS_DATA or maybe one of the other big functions called by MAIN()."
Regards,
Franck. |
Last edited by sorasit46 on Mon Mar 03, 2008 3:20 am; edited 1 time in total |
|
![](templates/subSilver/images/spacer.gif) |
sorasit46
Joined: 07 May 2007 Posts: 69
|
|
Posted: Mon Mar 03, 2008 3:14 am |
|
|
Ken Johnson wrote: | Humberto's # 3 is the way to go, but he (she?) could have been more tactful - must have had a bad Saturday night, eh?
Try a search
Ken |
You are same kind of human like Humberto.
If you know mean of tactful . Please action by yourself too.
Bye |
|
![](templates/subSilver/images/spacer.gif) |
sorasit46
Joined: 07 May 2007 Posts: 69
|
|
Posted: Mon Mar 03, 2008 3:21 am |
|
|
Andreas wrote: | Hi Franck26
Can You tell me the difference between the first and the second listing ????
I cant see it
best regards
Andreas |
If your original is
void xxx();
when you can not compile. (Out of rom)
you must type
#separate
void xxx();
Good luck |
|
![](templates/subSilver/images/spacer.gif) |
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Mon Mar 03, 2008 8:28 am |
|
|
I never thought that the following would be offensive:
1)-Did you read the Manual?
2)-Did you see the FAQ?
3)-How about searching the forum, before asking?
4)-This is not the compiler support site.
Humberto
Sorasit46 wrote:
Quote: |
I'm sorry is my question disturb you.
In the world have many kind of human.
I have bad luck to meet you, like you to read my question.
In future if you see my post with name " Sorasit46 " .Beg you do not see my post. I will thank you alot.
Bye you forever
|
I'm sorry is my answer disturb you.
In the world have many kind of human.
I have bad luck to meet you, like you to read my answer.
In future if you see my post with name " Humberto " .Beg you do not see my post. I will thank you alot.
Bye you forever !!!
Humberto |
|
![](templates/subSilver/images/spacer.gif) |
|