link.s 158 B

12345678910111213
  1. .sect .text; .sect .rom; .sect .data; .sect .bss
  2. .sect .text
  3. link = 9
  4. .define _link
  5. _link:
  6. .data2 0x0000
  7. chmk $link
  8. bcc 1f
  9. jmp cerror
  10. 1:
  11. clrl r0
  12. ret