title: Adding Variables in HLA?
body: <p>So, I'm trying to add variables, but it doesn't want to work. I have a really simple program.</p>
  
  <pre><code>program tested;
  
  var
      i: int8;
      x: int8;
  
  
  begin tested;
      mov(10, i);
      mov(5, x);
      add(i, x);
      stdout.put(x);
  
  end tested;
  </code></pre>
  
  <p>I get the following error:
  "Error in file 'tested.hla' at line 11 [errid:129712/hlaparse.c]:
  syntax error, unexpected ')', expecting '('. Near: &lt;&lt; ) >>"</p>
  
  <p>Mov is supposed to move the number into the variable..and add is supposed to add two things. Why isn't it working?</p>
  
  <p>I don't really understand hla so any help would be most appreciated.</p>