Hi everyone,
I'm new to assembly programming and I need help on two separate things.
The first is with a small intel assembly program I'm developing. What I dont know is how to check the integer entered from the keyboard is not between 10 and 20:
What should happen is that the numeric value cannot be between 10 and 20. Can anyone please help what I'm doing wrong?
This is what i have:
MOV AX,num
CMP AX,10
JGE is_greater
CMP AX,20
JLE is_lesser
JMP finish
Is there a function in assembly programming that can test if a char character is uppercase or lowercase, or numeric??
I'm new to assembly programming and I need help on two separate things.
The first is with a small intel assembly program I'm developing. What I dont know is how to check the integer entered from the keyboard is not between 10 and 20:
What should happen is that the numeric value cannot be between 10 and 20. Can anyone please help what I'm doing wrong?
This is what i have:
MOV AX,num
CMP AX,10
JGE is_greater
CMP AX,20
JLE is_lesser
JMP finish
Is there a function in assembly programming that can test if a char character is uppercase or lowercase, or numeric??