ack/mach/i86/libem/rck.s

18 lines
233 B
ArmAsm
Raw Normal View History

1985-02-07 15:33:13 +00:00
.define .rck
! $Header$
! descriptor address in si
! value in ax, must be left there
.rck:
cmp ax,(si)
jl 2f
cmp ax,2(si)
jg 2f
ret
2:
push ax
mov ax,ERANGE
call .error
pop ax
ret