CodeWarrior interrupts

Started by Norbert Gaier November 8, 2005
Hello everyone,

I have to write a paper about the way CodeWarrior compiler handles interrupts. Do you know some links to where I can find some documentation about this?

Thank you,
Norbert ---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.



Norbert,
Naturally I would look first in the compiler manual provided?

I guess you are asking how you can instruct the compiler to generate code
for interrupt service routines?

Have a look into the compiler manual(s) inside your installation:
Help\PDF\Manual_Compiler_HC12.pdf
Especially see the chapter about pragmas (pragma TRAP_PROC), or the chapter
'Freescale HC12 Back End', subchapters about 'Interrupt Functions'.
Or options like -Ccx.
Or the section about the 'interrupt' keyword (in the ANSI-C Front End
chapter).

Or search for:
- #pragma TRAP_PROC
- interrupt, __interrupt
- @interrupt
- #pragma NO_RETURN or NO_ENTRY (if you want to know more about how you can
control the function framing)

Related to that, see as well the Linker manual how the tool chain is
handling interrupt functions in a special way. See e.g. The VECTOR section,
etc.

Oh, and once you have written such a paper: pass it to Freescale or myself
and we can give you feedback.

Hope this helps,
Erich > -----Original Message-----
> From: 68HC12@68HC... [mailto:68HC12@68HC...]
> On Behalf Of Norbert Gaier
> Sent: Dienstag, 8. November 2005 08:30
> To: 68HC12@68HC...
> Subject: [68HC12] CodeWarrior interrupts > Hello everyone,
>
> I have to write a paper about the way CodeWarrior compiler
> handles interrupts. Do you know some links to where I can
> find some documentation about this?
>
> Thank you,
> Norbert > ---------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click. > ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Fair play? Video games influencing politics. Click and talk back!
> http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/dN_tlB/TM
> --------------------------
> ------~- > Yahoo! Groups Links >