|
|
1.1 root 1:
2:
3: .data
4: regs:
5: data:
6: .ascii "D0 = %08x\11D1 = %08x\11D2 = %08x\11D3 = %08x\12\15"
7: .ascii "D4 = %08x\11D5 = %08x\11D6 = %08x\11D7 = %08x\12\15"
8: address:
9: .ascii "A0 = %08x\11A1 = %08x\11A2 = %08x\11A3 = %08x\12\15"
10: .ascii "A4 = %08x\11A5 = %08x\12\15\12\15"
11: .ascii "FP = %08x\11A7 = %08x\11"
12: .ascii "SR = %8x\11PC = %08x\12\15\12\15\0"
13:
14: .text
15: .globl _regdump
16: _regdump:
17:
18: movl sp@, sp@-
19: movw sr, sp@-
20: movw #0, sp@-
21: movl a7, sp@-
22: subl #8, sp@
23: subl #60, sp
24: moveml #0x7fff,sp@
25: movl #regs, sp@-
26: jsr _kprintf
27: addl #76, sp
28: rts
29: .data
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.