Please could someone tell me why the below code wont work, im trying to add two numbers together and display the result (both numbers are entered by the user). Im new to this, but as far as i can see ive done it correctly but it just outputs a random character that means nothing to me. Also this code will only work with single digit numbers, how would i go about allowing the user to enter a string of numbers, or anything longer than 1 digit?
TITLE ADD .model small .stack 100h .data
add_msga db 10,13, "Enter Number 1: $" add_msgb db 10,13, "Enter Number 2: $" add_num1 db ? add_num2 db ? add_result db ?