Page 1 of 1

MOD 54415 IRQ 7 assembly code

Posted: Wed Dec 10, 2014 12:54 pm
by jediengineer
Has anyone successfully coded IRQ 7 in assembly? I'm not the strongest with coldfire assembly, and was wondering if anyone had attempted it, maybe even something I could look at. I need it to only shut down my system, that's it. Thanks!

Re: MOD 54415 IRQ 7 assembly code

Posted: Wed Dec 10, 2014 1:07 pm
by dciliske
I'd recommend starting with C (and the interrupt macro) and then optimizing the disassembled output.

Perhaps this might be something fun to do this evening...

-Dan

Re: MOD 54415 IRQ 7 assembly code

Posted: Thu Dec 11, 2014 6:00 am
by jediengineer
Did you say fun? I know not this word....lol

It was suggested to me that I look at the disassembly for a different IRQ pin and work from there. It's a slower method, but I think I can learn assembly slowly from there. I just was looking for a snippet that I could play/work with, modify and test until I got it right. I guess I'll try the disassembly first.