News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Data Allocation Directives

Started by cman, June 16, 2008, 06:48:36 PM

Previous topic - Next topic

cman

How does storing data using allocation directives compare to storing data using the system stack on a machine language level? I know that data directives "hard code" initialized data in the hex file's  ".data" segment , is the same true for stack variables and the program's ".stack" segment ( the assembly language book I'm reading out of is 16 - bit DOS assembler). And how does the performance of  both types of variables compare ( are accesses to one type faster than the other , ect. )? Thanks for any information! :bg