title: How many primitive operations in a simple loop?
body: <p>I have a bunch of code to find the primitive operations for. The thing is that there aren't really many detailed resources out on the web on the subject. In this loop:</p>
  
  <pre><code>for i:=0 to n do
    print test
  end
  </code></pre>
  
  <p>How many steps do we really have? In my first guess I would say n+1 considering n for the times looping and 1 for the print. Then I thought that maybe I am not precise enough. Isn't there an operation even to add 1 to i in every loop?
  In that matter we have n+n+1=2n+1. Is that correct?</p>