ack/lang/cem/libcc/mon/lseek.e
1985-01-01 22:27:02 +00:00

26 lines
243 B
Plaintext

#
mes 2,EM_WSIZE,EM_PSIZE
exp $lseek
pro $lseek,0
lal 0
loi 4*EM_WSIZE
loc 19
mon
zeq *1
ste errno
#if EM_WSIZE==1
ldc -1
loc 2
loc 4
cii
#endif
#if EM_WSIZE==2
ldc -1
#endif
#if EM_WSIZE==4
loc -1
#endif
1
ret 2*EM_WSIZE
end