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  | 
              |||
                  
  | 
              
| 
                  
                   baldr 06 May 2010, 05:46 
                  revolution wrote: One section is 1 byte long and the other is 1000001 bytes long.  | 
              |||
                  
  | 
              
| 
                  
                   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. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Nameless 06 May 2010, 09:38 
                  oh
 
                  
                ok, thanks for the info, also sorry for the mis-understanding  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.