flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Macroinstructions > [solved] proc proc / proc : | 
| Author | 
 | 
| Tomasz Grysztar 03 Oct 2010, 09:05 ouadji wrote: I understand why "B" does not compile, that seems obvious ... | |||
|  03 Oct 2010, 09:05 | 
 | 
| ouadji 03 Oct 2010, 09:43 Code: C) ;does not compile include 'win32a.inc' proc : jmp proc D) ;does compile ;include 'win32a.inc' proc : jmp proc Quote: 
 The compiler when alone allows the label "proc", the problem arises when one add the "macro proc". ok, it makes sense, i understand now. Thank you. | |||
|  03 Oct 2010, 09:43 | 
 | 
| Tomasz Grysztar 03 Oct 2010, 09:47 ouadji wrote: The compiler when alone allows the label "proc", Code: include 'win32a.inc'
label proc
jmp proc     | |||
|  03 Oct 2010, 09:47 | 
 | 
| ouadji 03 Oct 2010, 10:00 Indeed, your example above compiles without problem. perfect, thank you Tomasz. (I'll also have to manage the directive "label" in next "wink" <--  ) | |||
|  03 Oct 2010, 10:00 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.