MPC5xx: how could i put my function into a certain address?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5xx: how could i put my function into a certain address?

1,171 Views
Aaron_zhang
Contributor I
hello, i define a function pit(). I don't know how to put this function into 0x00000500 address.I wonder if it has some instruction to achieve this?I use codewarrior 8.1 for MPC555.
thans!

Message Edited by CrasyCat on 2007-04-13 01:28 PM

Labels (1)
0 Kudos
1 Reply

323 Views
CrasyCat
Specialist III
Hello
Look at {Install}\(CodeWarrior_Examples)\PowerPC_EABI\MPC56x\Source\eppc_exception.asm for example on how to initialize the vector table .
 
I hope this helps.
 
CrasyCat
0 Kudos