_creat.s 154 B

12345678910111213
  1. .define __creat
  2. .sect .text
  3. .sect .rom
  4. .sect .data
  5. .sect .bss
  6. .sect .text
  7. .extern __creat
  8. __creat: trap #0
  9. .data2 0x8
  10. bcc 1f
  11. jmp cerror
  12. 1:
  13. rts