1985-02-07 22:06:32 +00:00
|
|
|
.define .ciu
|
|
|
|
.define .cui
|
|
|
|
.define .cuu
|
1986-07-22 13:37:16 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
1985-02-07 22:06:32 +00:00
|
|
|
|
1986-07-22 13:37:16 +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)
|
1986-07-22 13:37:16 +00:00
|
|
|
|
1985-02-07 22:06:32 +00:00
|
|
|
.align 2
|