ack/mach/sun2/libsys/sigtramp.s

20 lines
320 B
ArmAsm
Raw Normal View History

1987-03-03 09:37:26 +00:00
.sect .text
.define __sigtramp
__sigtramp:
movem.l d0/d1/a0/a1,-(sp)
1987-03-10 17:41:37 +00:00
move.l #__sigfunc,d1
move.l 0x10(sp),d0
1987-03-03 09:37:26 +00:00
lsl.l #2,d0
add.l d1,d0
move.l d0,a0
move.l (a0),a0
1987-03-10 17:41:37 +00:00
move.l 0x18(sp),-(sp)
move.l 0x18(sp),-(sp)
move.l 0x18(sp),-(sp)
1987-03-03 09:37:26 +00:00
jsr (a0)
add.l #12,sp
movem.l (sp)+,d0/d1/a0/a1
add.l #8,sp
pea 0x8b
trap #0