NASM Forum > Programming with NASM

Global

(1/3) > >>

JohnG:
Hi all,

Trying to find some examples using multiple Global directives.  I have one but it does not explain how it all goes together, and how it is saved (ie name and such) and where the programs actually go. Sounds simple enough but I only ever find 1 global.

John

Frank Kotler:
Dunno. I guess you could have more than one global per module. Can't recall seeing it. What happens when you try it?

Best,
Frank

JohnG:
Hi

This was part of the program example.  Connecting the two programs.



Frank Kotler:
i John.

jpg? I see a picture of some text. No idea what to do with it. does not look like even one file, let alone two. I've tried to cook up an example but not having much luck with it. It would be for "imnux anyway. Possibly later? Any more information you can give?

Best,
Frank

JohnG:
hi

It was just part of the main program that includes the Global for the second program ( factorial ) showing how it was formatted.

I will do both separately and see what happens, even if it works it will probably not help in understanding what's going on.

John

Navigation

[0] Message Index

[#] Next page

Go to full version