|
|
1.1 root 1: | as68 routine for interrupt programming
2: .text
3: .globl _spurint
4:
5: _spurint: movel a0,sp@- | save C scratch regs
6: movel a1,sp@-
7: movel d0,sp@-
8: movel d1,sp@- | (or use movem for better performance)
9: jsr _spurintc | C will save other regs on entry to routine
10: movel sp@+,d1
11: movel sp@+,d0
12: movel sp@+,a1
13: movel sp@+,a0
14: rte | return from interrupt
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.