ack/mach/m68k2/libem/cmi.s

23 lines
235 B
ArmAsm
Raw Normal View History

1984-12-14 15:41:14 +00:00
.define .cmi, .cmi_
.sect .text
.sect .rom
.sect .data
.sect .bss
1984-12-14 15:41:14 +00:00
! NUM == 4
! result in d1
.sect .text
1984-12-14 15:41:14 +00:00
.cmi:
.cmi_:
move.l (sp)+,a0
move.l #1,d1
move.l (sp)+,d0
cmp.l (sp)+,d0
bne 1f
clr d1
1:
ble 2f
neg d1
2:
jmp (a0)