title: Print an array of letters/ numbers using 32bit assembly
body: <pre><code> litere times 255 db 0 ;letters array
   dim_sir_litere db 0 ;this will tell me how many letters i have in my array
  
  mov [dim_sir_litere],EDI   ; the length of letters array
  </code></pre>
  
  <p>;trying to print all letters from array but it is not working</p>
  
  <pre><code>mov ECX,[dim_sir_litere] ;this will have the lenght of my letters array
  
  mov ESI,0  ;this will be the index that i will use 
  </code></pre>
  
  <p>;in this loop i want to print all the characters from the litere array</p>
  
  <pre><code>       afisare_litere:
                     push ECX ;keep ECX value
                     mov EAX,dword [litere+ESI] ;put in EAX the value from ESI index 
                     inc ESI ;mov index to the next position
                     push dword EAX  
                     push dword format_caracter ;the format is %c
                     call [printf]
                     add esp,4*2
                     pop ECX
           loop afisare_litere
  </code></pre>
  
  <p>The actual problem is it that after i run the code its not printing something, is doesn't print anynthing
  I use this code to put letters in array: </p>
  
  <pre><code>mov [litere+EBX],AL
  </code></pre>