1984-12-14 15:41:14 +00:00
|
|
|
.define .cmp
|
1985-06-04 10:57:42 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
1984-12-14 15:41:14 +00:00
|
|
|
|
1985-06-04 10:57:42 +00:00
|
|
|
.sect .text
|
1984-12-14 15:41:14 +00:00
|
|
|
.cmp:
|
|
|
|
move.l (sp)+,a0 ! return address
|
|
|
|
move.l #1,d1
|
|
|
|
move.l (sp)+,d0
|
|
|
|
cmp.l (sp)+,d0
|
|
|
|
bne 1f
|
|
|
|
clr d1
|
|
|
|
1:
|
|
|
|
bcs 2f
|
|
|
|
neg d1
|
|
|
|
2:
|
|
|
|
jmp (a0)
|