REset vector for hc08

  • heepdog

    heepdog - 2009-02-11

    I ahve been trying to compile a program to run on a hc08 processor that has a bootloader installed,  The vector taboe that I need to use is at faff.  I tried to pass the value using -W"l-b CODEIVT=0xfafe" however it doesn't seem to change probably since the .area CODEIVT (ABS).  How is that changed.  is there a progma that I can use or a header file to modify.  any help would be greatly appreciated.

    • Maarten Brock

      Maarten Brock - 2009-02-28

      I'm afraid SDCC can not move the vector table. I think your best option is to code it in assembler yourself. Compile this small piece of code to generate an assembly template, modify as needed and rerun the assembler. Then rename your "main" to "mymain" and link all objects together.

      void main(void)



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks