1987-05-15 09:11:10 +00:00
|
|
|
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
|
|
|
.sect .text
|
|
|
|
.define inn~
|
1994-06-24 14:02:31 +00:00
|
|
|
! $Id$
|
1984-07-19 12:51:00 +00:00
|
|
|
|
|
|
|
inn~:
|
|
|
|
mov r0,-(sp)
|
|
|
|
clr r0
|
|
|
|
div $010,r0
|
|
|
|
cmp r0,(sp)
|
|
|
|
bcc 1f
|
|
|
|
add sp,r0
|
1984-07-20 16:20:28 +00:00
|
|
|
bitb bits(r1),4(r0)
|
1984-07-19 12:51:00 +00:00
|
|
|
beq 1f
|
|
|
|
mov $01,r0
|
|
|
|
br 2f
|
|
|
|
1: clr r0
|
|
|
|
2: mov 02(sp),r1
|
|
|
|
add (sp)+,sp
|
|
|
|
tst (sp)+
|
|
|
|
jmp (r1)
|
1987-05-15 09:11:10 +00:00
|
|
|
.sect .data
|
|
|
|
bits: .data1 1,2,4,010,020,040,0100,0200
|