creat.e 170 B

1234567891011121314
  1. #
  2. mes 2,EM_WSIZE,EM_PSIZE
  3. exp $creat
  4. pro $creat,0
  5. lal 0
  6. loi EM_WSIZE+EM_PSIZE
  7. loc 8
  8. mon
  9. zeq *1
  10. ste errno ; since e==r0
  11. loc -1
  12. 1
  13. ret EM_WSIZE
  14. end