NASM Forum > Using NASM
Position of Global directive.
(1/1)
chomwitt:
In two simple tutorial like hello world asm listings from different books one has the 'global _start' in the start of the code , before any 'section' and the other just after the 'section .text' and before the _start label.
So does it matter where do we place global or its a choice based on readability or convenience?
Frank Kotler:
Hi chomwitt,
Welcome to the forum.
Your choice, I believe. When in doubt, try it!
Best,
Frank
Navigation
[0] Message Index
Go to full version