Leggi numero in base 10

a 100
mov bx,0
nop
mov ah,1
int 21
cmp al,30
mov cl,al
jb 121
cmp al,39
ja 122
sub al,30
mov cl,al
mov ax,a
mul bx
mov ch,0
add ax,cx
mov bx,ax
nop
nop
cmp cl,D
jnz 103
int 20

Registrati via email