flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Main > use "org" command  on data segment | 
  
| Author | 
  | 
              
| 
                  
                   DOS386 03 Dec 2013, 09:52 
                  > hye i try to use "org" command on dseg and somhow
 
                  
                Hi I try to use "org" directive on dseg(?) and somehow Code: N1 db 6 org 10h TABLE1 db 3,12h,13h,15h,34h,7Ah N2 db 5 org 30h TABLE2 db 4,12h,14h,15h,87h dseg ends cseg segment assume ds:dseg, cs:cseg 0. Welcome to the FASM forum 1. Please use [ c o d e ] tags 2. FASM doesn't support "assume" ... please RTFM (the official FASM manual), check what assembler you actually use, and check the FAQ's in this forum PS: org doesn't affect data ... it affects absolute addresses only http://flatassembler.net/docs.php?article=manual#2.2.4 (someone move in into Main please, I can't)  | 
              |||
                  
  | 
              
| 
                  
                   baldr 03 Dec 2013, 10:49 
                  golant85,
 
                  
                That source looks like MASM fragment. With slight ornamental works it compiles and links fine. Thus I deduce that you're trying to compile MASM source with fasm (or, in other words, don't understand what you're doing).  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.