ack/plat/em/libsys/stime.e
David Given 7eaa235fd1 Bodge the ancient em monitor library into building as a libsys for the em22
plat. It's completely untested, but it builds and makes e.out executables.
2018-06-13 21:44:25 +09:00

21 lines
184 B
Plaintext

#
mes 2,EM_WSIZE,EM_PSIZE
exp $stime
pro $stime,0
#if EM_WSIZE<4
lol 0
loi 4
#else
lil 0
#endif
loc 25
mon
zne *1
loc 0
ret EM_WSIZE
1
ste errno
loc -1
ret EM_WSIZE
end