Supervisor mode

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

Supervisor mode

888 Views
scarr
Contributor I

Hi,

 

I'm a newbie to coldfire / frescale and have a MCF5206e that I want to put into supervisor mode, I want to make write to code space to make a small piece of self modifying code.

 

Anyone know how to do this?

 

Thanks

 

Steve

Labels (1)
0 Kudos
1 Reply

326 Views
Nouchi
Senior Contributor II

Hello,

 

You have to use TRAP #0-15 instruction to generate TRAP exception, and doing what you want to do in.

 

Emmanuel

0 Kudos