title: using defines in assembly
body: <p>I'm trying to do some preprocessing in assembly using the imagecraft compiler avr. So far my best guess looks like this:</p>
  
  <pre><code>#define TEST 1
  #if TEST == 1
  ldi R20, 0xFF
  #else
  ldi R20, 0xF1
  #endif
  </code></pre>
  
  <p>However doing this gives the compiler error:</p>
  
  <pre><code>absolute expression expected
  </code></pre>
  
  <p>How do I resolve this or is there a better way to do this?</p>
  
  <p>kenneth</p>