From: Bernhard H. <Ber...@ot...> - 2001-06-23 10:28:43
|
> Thank you for looking at the problem. I doubt if >it is a hardware related issue, >because when I write to the same location from the function "main" everything >works just >fine. When I use functions to do this it, it does'nt work (Looks like it >overwrites the same >location.) Could it be a stack related issue ? Hmm. Your program starts at 0x2300, therefore I assume that you use a monitor? In your program SDCC sets the sp to 7. Maybe there's a conflict with your monitor. If you have don't have a monitor, the program must start at 0x0000. Bernhard |