AnsweredAssumed Answered

Reset Vector address

Question asked by Vihaan Kumar on Jan 19, 2015
Latest reply on Jan 20, 2015 by ZhangJennie

Hi,

 

i have the following code for reset vectors and the register ivbr = 0x7F. I am using the banking memory model

typedef void (*near tIsrFunc)(void);

const tIsrFunc ResetVectorTable[] @0x7F10 =

{

SpuriousISR,

.

so on;

};

 

The above code is for moving the vector table to the address 0x7F10. My doubt is since 0x7F10 is same as 0xFE ppage register and 0x7F10 index value.

 

Can i initialize the code as

typedef void (*near tIsrFunc)(void);

const tIsrFunc ResetVectorTable[] @0xFE7F10 =

{

SpuriousISR,

.

.

so on;

};

 

Please request to clarify my doubt.

 

Thanks and regards,

Vihaan

Outcomes