1984-12-14 15:41:14 +00:00
|
|
|
.define .rck
|
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
|
|
|
.rck:
|
|
|
|
move.l (sp)+,a1
|
|
|
|
move.l (sp)+,a0 ! descriptor address
|
|
|
|
move.w (sp),d0
|
|
|
|
cmp (a0),d0
|
|
|
|
blt 1f
|
|
|
|
cmp 2(a0),d0
|
|
|
|
ble 2f
|
|
|
|
1:
|
|
|
|
move.w #ERANGE,-(sp)
|
|
|
|
jsr .trp
|
|
|
|
2:
|
|
|
|
jmp (a1)
|