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
|
|
|
|
move (sp)+,d0 ! destination size
|
|
|
|
sub (sp)+,d0
|
|
|
|
bgt 1f
|
|
|
|
sub d0,sp
|
|
|
|
jmp (a0)
|
|
|
|
1:
|
|
|
|
asr #1,d0
|
|
|
|
2:
|
|
|
|
clr -(sp)
|
|
|
|
dbf d0,2b
|
|
|
|
jmp (a0)
|
1986-07-22 13:37:16 +00:00
|
|
|
|
1985-02-07 22:06:32 +00:00
|
|
|
.align 2
|