flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > Global variables (should I put them on the stack?) |
Author |
|
crc 29 Jan 2006, 20:12
I would reserve space for them in the file; if you put them on the stack, you have a harder time keeping track of their exact depth when a deeply nested subroutine needs to use them. Local variables are fine on the stack though, since only the most recently called routine needs to access them.
|
|||
29 Jan 2006, 20:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.