title: Is this correct?
body: <p>Studying for my exam and I want to know if this code is correct.
  I have just signed up for this site so I'm sorry if anything wrong with my question.</p>
  
  <p>This code finds the first zero value in an array. If none found, It makes SI point to the last array element.</p>
  
  <pre><code>Data Segment
  array DW -3, 7, 20, 10, 0, 4, 9
  End Segment
  
  Code Segment
  
  MOV SI, OFFSET array
  MOV CX, LENGTHOF array
  MOV AX, 0
  L1:
  MOV AX, [SI]
  CMP AX, 0
  JE FOUND
  JCXZ NOT FOUND
  ADD SI, 2
  LOOP L1
  FOUND:
  RET
  
  NOT FOUND: 
  MOV SI, 12
  END
  </code></pre>