assembly - NASM check if input is a double digit number without a specific Ascii value like "00" -


I am trying to figure out that the user is input 00 but I do not know How to check that I can check numbers or letters that have a specific ESI value such as:

  cmp byte [buff], 39h jbe aMethod  < / Pre> 

buff is where the user input is stored.

I check each byte like 00 such as

  CMP byte [buff], 30h jne not_00 cmp byte [buff + 1], 30h jne not_00 is_00: ... not_00: ...    

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -