title: Converting lowercase character string to uppercase masm
body: <p>there is a printf statement which tells the compiler to print outStr.  outStr is originally set to equal emptybuf[1000] = "??? not translated yet ???";.  I am supposed to move my answer into the outStr, which should update the outStr in the print statement.</p>
  
  <p>For some reason my inline assembly will not print out anything from the code shown below.  I cannot understand what I am doing wrong.  I am trying to convert lowercase letters to uppercase, and ignore any special characters.  Any advice is much appreciated.</p>
  
  <pre><code>mov esi,inStr ;To start off initialize  esi point to input string
  mov edi,outStr  ;edi point to the output string area
  
      ; using esi and edi with [esi] and [edi] as indirect operand
  
      ; suggestion  to start mov each character to al  like   --&gt;  mov al,[esi]
      ; test, and manipulate character in al
  
  
          jmp getNext         
  getNext: mov al,[esi]
      cmp al,0
   je exitProc
          test al,01100000b ;test to see if its a lowercase letter
          je toUpperCase
          test al,01000000b
          mov [edi],al
          inc esi
  toUpperCase: test al,01000000
           AND al,11011111b
           mov [edi],al
           inc esi
           jmp getNext
  exitProc: mov outStr, edi
  </code></pre>