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

using old code rom with new code ram

Hi,

I have a working old code in rom 32k, I added ram code at the upper 32k and I set the hw to start form the new ram at 32k.

I want to address old function from the new ram code without modify the old project.

once I compile the project code the hex output is not the old rom hex with the new ram code.

rather it recompiled the old code to optize it and I have a new hex that is not like the old rom hex with the new additions.

The thinng is that I need to address the old code function (fixed hex in rom).

what can I do?

regards,
dan

Parents
  • once you know how to call the function in asm its solved.

    No, it won't be. And if you really had that "deep knowledge" of C51 you so deftly claimed, you wouldn't need us to tell yo uthat.

    There must be an essayer way to solve it.

    There is: It's a bad plan, so don't do it!.

    Once you stop banging your head against the wall, it will cease to hurt that much. You might even step far enough back to notice that there's a perfectly working, open door just 5 steps to the right of where you've been trying to pass through a rock-solid wall.

Reply
  • once you know how to call the function in asm its solved.

    No, it won't be. And if you really had that "deep knowledge" of C51 you so deftly claimed, you wouldn't need us to tell yo uthat.

    There must be an essayer way to solve it.

    There is: It's a bad plan, so don't do it!.

    Once you stop banging your head against the wall, it will cease to hurt that much. You might even step far enough back to notice that there's a perfectly working, open door just 5 steps to the right of where you've been trying to pass through a rock-solid wall.

Children