NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: chomwitt on June 01, 2021, 06:16:14 AM
-
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?
-
Hi chomwitt,
Welcome to the forum.
Your choice, I believe. When in doubt, try it!
Best,
Frank