Recent content by naja

  1. N

    Assembly how to check empty string?

    I am asking user to enter a number if user hits enter key instead of entering a value then i need to exit the program. see code below ; i put the value into eax cmp AL,0 ;i compare is al reg is empty je exitProgram ; some instructions exitProgram: Invoke ExitProcess,0 Public...
  2. N

    Assembly JC Instruction for Converting Input to Integer with Error Handling

    I am getting input from user and convert to int . if input is not valid(has invalid chars etc) i need to ask user to re enter the number . ;get number jc displayErroMsg ; If value is not valid then display msg and ask user to re enter the value. ;I don't know where I need to put...
Back
Top