Assembly Language: Determine if Digit or Not

This will determine if the user's input is a digit or not and quits if "q" is pressed.

Anyway, here's the code below:



It's a very simple code but it come in handy as an error handler.