flat assembler
Message board for the users of flat assembler.
Index
> Main > is this a compiler thing? or its just me? |
Author |
|
revolution 06 May 2010, 05:40
Mixing initialised data with uninitialised data.
Code: .data rb 1000000 ;uninitialised db 'X' ;initialised Code: .data db 'X' ;initialised rb 1000000 ;uninitialised |
|||
06 May 2010, 05:40 |
|
baldr 06 May 2010, 05:46
revolution wrote: One section is 1 byte long and the other is 1000001 bytes long. |
|||
06 May 2010, 05:46 |
|
revolution 06 May 2010, 08:29
Yes, baldr is correct. When the exe is loaded into memory the section sizes will be the same. But on disk the stored section sizes differ greatly.
|
|||
06 May 2010, 08:29 |
|
Nameless 06 May 2010, 09:38
oh
ok, thanks for the info, also sorry for the mis-understanding |
|||
06 May 2010, 09:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.