title: Register value not getting updated properly
body: <p>I have written the following assembly language program to determine if the value in <strong>al</strong> is a digit <br></p>
  <pre><code>INCLUDE Irvine32.inc
  .data
  randVal DWORD ?
  .code
  
  main PROC
  
  IsDigit PROC
  cmp al,'0'
  jb ID1 
  cmp al,'9'
  ja ID1 
  test ax,0 
  ID1: ret
  IsDigit ENDP
  
  mov al, 'x'
  call IsDigit
  mov bl , 'y'
  main ENDP
  END main
  </code></pre>
  <p>Here is what I see in debugging mode in registers. As I have put x into al. x = 120 in ASCII = 78.<br>
  I expected to see <strong>78 in AL</strong>. But that's not the case : <br>
  <a href="https://i.stack.imgur.com/uy0rm.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I have defined a proc called IsDigit and then call it using <strong>call IsDigit</strong>. Is that a correct <br>
  way to call an assembly language function. Also I see only the main registers in the registers window<br>
  Is there a way to see all flags too in visual studio</p>