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

C167-CR-LM Saving a program and executing it in RAM

Dear!
I save a small program in ram memory in address 0x80000.
After saving the program I want to jump to the program saved in ram memory.
Beforer the end of the h86 file there is twolines like this:
:020000020000FC
:04000000FA080200F8

This means that there must be 0xFA080200 saved in address 0x0000, but in this address there is another program saved.
How can I get it?
Thanks!!

Parents
  • If I jump interrupt vector table to program start address, this vector overlaps some data.

    Where did that overlapping data/code come from? Is it part of your program? If it is, you have control of it and you can move it out of VECTAB's way. Normally it wouldn't be there because the linker takes care of everything and makes sure nothing overlaps. Look into linker map file (*.M66) for details about memory mapping.

    And the option VECTAB does not work.

    ???
    What version of C166 toolset are you using? Again, all linker options are in the manual and AFAIK they work.

    - mike

Reply
  • If I jump interrupt vector table to program start address, this vector overlaps some data.

    Where did that overlapping data/code come from? Is it part of your program? If it is, you have control of it and you can move it out of VECTAB's way. Normally it wouldn't be there because the linker takes care of everything and makes sure nothing overlaps. Look into linker map file (*.M66) for details about memory mapping.

    And the option VECTAB does not work.

    ???
    What version of C166 toolset are you using? Again, all linker options are in the manual and AFAIK they work.

    - mike

Children
No data