ctxlocal.asm 254 B

1234567891011121314151617181920212223242526
  1. ;;
  2. ;; Test of context-local labels
  3. ;;
  4. bits 64
  5. extern everywhere ; Test of extern -> global promotion, too
  6. extern tjosan
  7. here:
  8. jz .there
  9. %push foo
  10. jo %$mordor
  11. hlt
  12. %$mordor:
  13. nop
  14. %pop
  15. .there:
  16. ret
  17. everywhere:
  18. ret
  19. global everywhere
  20. tjosan:
  21. ret