flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Compiler Internals > ERR directive - useful ??? Conditional ERR | 
| Author | 
 | 
| revolution 07 Apr 2009, 02:01 The idea of err is that it is always guaranteed to give an error. Kind of like Intel making UD2 as an encoding to never be used by a valid instruction. Last edited by revolution on 07 Apr 2009, 02:06; edited 1 time in total | |||
|  07 Apr 2009, 02:01 | 
 | 
| DOS386 07 Apr 2009, 02:04 revolution wrote: The idea of err is that is it always guaranteed to give an error. Kind of like Intel making UD2 as an encoding to never be used by a valid instruction. while abortcompilationhere could become valid one day   Code: conderr ($>$FFFF) | |||
|  07 Apr 2009, 02:04 | 
 | 
| revolution 07 Apr 2009, 02:09 abortcompilationhere is too long to be friendly to use. | |||
|  07 Apr 2009, 02:09 | 
 | 
| Tomasz Grysztar 07 Apr 2009, 05:10 And "abortcompilationhere" gives you a different error message, while ERR tells you that breaking the compilation was intended in that place. | |||
|  07 Apr 2009, 05:10 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.