ack/mach/m68k4/libem/cuu.s

27 lines
297 B
ArmAsm
Raw Permalink Normal View History

1985-02-07 22:06:32 +00:00
.define .ciu
.define .cui
.define .cuu
.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
.ciu:
.cui:
.cuu:
move.l (sp)+,a0 ! return address
1987-03-27 09:06:28 +00:00
move.l (sp)+,d0 ! destination size
sub.l (sp)+,d0
1985-02-07 22:06:32 +00:00
bgt 1f
1987-03-27 09:06:28 +00:00
sub.l d0,sp
1985-02-07 22:06:32 +00:00
jmp (a0)
1:
1987-03-27 09:06:28 +00:00
asr.l #2,d0
1985-02-07 22:06:32 +00:00
2:
1987-03-27 09:06:28 +00:00
clr.l -(sp)
1985-02-07 22:06:32 +00:00
dbf d0,2b
jmp (a0)
1985-02-07 22:06:32 +00:00
.align 2