ack/mach/sun3/libsys/sigtramp.s

18 lines
302 B
ArmAsm
Raw Permalink Normal View History

1987-02-20 14:36:01 +00:00
.sect .text
.define __sigtramp
__sigtramp:
movem.l d0/d1/a0/a1,-(sp)
1987-03-10 17:38:55 +00:00
move.l #__sigfunc,a0
move.l (0x10,sp),d0
1987-02-20 14:36:01 +00:00
lsl.l #2,d0
move.l (a0,d0),a0
1987-03-10 17:38:55 +00:00
move.l (0x18,sp),-(sp)
move.l (0x18,sp),-(sp)
move.l (0x18,sp),-(sp)
1987-02-20 14:36:01 +00:00
jsr (a0)
add.l #12,sp
movem.l (sp)+,d0/d1/a0/a1
add.l #8,sp
pea (0x8b)
trap #0