This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

program execution

I have 8031 connected with 64KB external EPROM and 8KB external RAM.

I around 15 C files and after compiling all the files my xdata size is - 4450 and code - 37750.

But i face a problem in executing a particular block of a program.

the block has one for loop, and after completing the for loop has a sprintf function.

both the routines are correct but i dont understand if i remove the forloop only my sprintf is executing.

if i put my for loop the spritnf is not working.
the function i do inside the forloop is very correct.

since this type of routine that is the for loop + sprintf is used in 4 places. The first 3 places there is no problem but the problem comes in last place.

i do not know y the compiler is behaving in a peculiar manner?

can anybody help me regarding this?

0