Recent content by naja
-
N
Assembly JC Instruction for Converting Input to Integer with Error Handling
thanks that helped.- naja
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
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...- naja
- Thread
- Assembly Empty String
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
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...- naja
- Thread
- Assembly Instruction
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help