This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: m68k & Interrupts


Here's what I do.  I've been wondering if it's a good idea:

I compile the interrupt routine with the switch that causes it to stop 
after translating to assembler.  I hand-edit it, changing the rts opcode 
to rte.  Then I assemble it and link.

It's worked for small programs I use for hardware checkout, but I 
haven't dug through it to make sure the stack is being cleaned up 
properly.

Anyone care to comment?
--
John A. Breen
jab3@hotmail.com


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com