ack/mach/m68k4/libem/ret.s

31 lines
296 B
ArmAsm
Raw Normal View History

1985-02-07 22:06:32 +00:00
.define .ret
.sect .text
.sect .rom
.sect .data
.sect .bss
1985-02-07 22:06:32 +00:00
.sect .text
1985-02-07 22:06:32 +00:00
.ret:
beq 3f
cmp #2,d0
bne 1f
move (sp)+,d0
bra 3f
1:
cmp #4,d0
bne 2f
move.l (sp)+,d0
bra 3f
2:
cmp #8,d0
bne 4f
move.l (sp)+,d0
move.l (sp)+,d1
3:
unlk a6
rts
4:
1987-11-16 15:52:57 +00:00
move.l #EILLINS,-(sp)
1987-03-27 12:43:17 +00:00
jmp .fatal
1985-02-07 22:06:32 +00:00
.align 2