1987-05-15 09:11:10 +00:00
|
|
|
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
|
|
|
.sect .text
|
|
|
|
.define adi~
|
|
|
|
.extern unknown~
|
|
|
|
! $Header$
|
1984-07-19 12:51:00 +00:00
|
|
|
|
1987-05-15 09:11:10 +00:00
|
|
|
!size in r0
|
1984-07-19 12:51:00 +00:00
|
|
|
adi~:
|
|
|
|
mov (sp)+,r1
|
|
|
|
cmp r0,$04
|
|
|
|
bgt 1f
|
|
|
|
cmp r0,$02
|
|
|
|
bgt 2f
|
|
|
|
add (sp)+,(sp)
|
|
|
|
jmp (r1)
|
|
|
|
2: add (sp)+,02(sp)
|
|
|
|
add (sp)+,02(sp)
|
|
|
|
adc (sp)
|
|
|
|
jmp (r1)
|
|
|
|
1:
|
|
|
|
jmp unknown~
|