flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Compiler Internals > Code can't be generated? | 
  
| Author | 
  | 
              
| 
                  
                   l4m2 19 Feb 2015, 10:55 
                  Code: rept 10 i:0 { if ~defined int_#i int_#i: mov al,i iret end if }  | 
              |||
                  
  | 
              
| 
                  
                   revolution 19 Feb 2015, 11:04 
                  
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   l4m2 19 Feb 2015, 11:23 
                  revolution wrote: See here: So the reason is that the definition itself made it not to define and a loop happened ?  | 
              |||
                  
  | 
              
| 
                  
                   baldr 20 Feb 2015, 20:07 
                  l4m2,
 
                  
                It's all about prediction. fasm uses data from previous pass to deduce whether that symbol is going to be defined.  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.