I created this simple addition program in NASMIDE Assembly x86 Intel 8086. I don't really know how to change the code to be able to: ADD two numbers ( 0 - 255 ) from input and print them out. I've been searching for examples of this kind, but I can't find any.
org 100h
;program
mov ah,1 ; READ INTO AL
int 21h
mov dl,al ; DL = CURR AL
mov ah,1 ;READ INTO AL
int 21h
ADD dl,al ; DL = DL + AL
sub dl,48 ; ASCII TO NUMBER
mov ah,2 ; PRINT NUMBER
int 21h
;END
mov eax,4c00h
int 21h