address space for reentrant function

General discussion on RSC-4x mikroC.
Post Reply
Author
Message
dfeldman
Posts: 13
Joined: 21 Jun 2006 07:01

address space for reentrant function

#1 Post by dfeldman » 01 Jun 2007 22:55

I have a large program that has many functions and utilizes the T2SI functions. I would like to use the T2SISD functions but every time I try to call a function such as _MakeTmpltT2SISD, I get the following error:

No free room in address space 'REG' for segment '??CS_NOREENT'

What's going on here?

Thanks,
Dan

magnoA
Posts: 4
Joined: 14 Jun 2007 01:43

#2 Post by magnoA » 17 Aug 2007 08:26

Well, I have the same problem.

Is anybody there who knows what´s going on?
:cry:

magnoA
Posts: 4
Joined: 14 Jun 2007 01:43

#3 Post by magnoA » 20 Oct 2007 20:40

I solved my problem.
I had a very large code also with a lot of routines, I'm not very familiar with these topics but I supposed that there is a limit number of routines depending on memory's capacity.
I got rid of the small and repetitive routines and put them inside I big routine separated by a "switch" command and now everything is OK.

:)

hopefully this will be helpful

kido
Posts: 5
Joined: 28 Mar 2008 08:44

Re: address space for reentrant function

#4 Post by kido » 28 Mar 2008 08:54

dfeldman wrote:I have a large program that has many functions and utilizes the T2SI functions. I would like to use the T2SISD functions but every time I try to call a function such as _MakeTmpltT2SISD, I get the following error:

No free room in address space 'REG' for segment '??CS_NOREENT'

What's going on here?

Thanks,
Dan
Probably you're running out of ram in global variables. REG is amount of RAM you have.

Post Reply

Return to “RSC-4x mikroC General”