0

we were asked to make a program that adds two digit numbers. I was ableto scan and add the input numbers but I have trouble doing the 'carry' part. i can't divide the sum of the ones place integers by ten.

what's wrong with this code? :

```
mov al,bl;move bl to al to make it the dividend, the sum is stored in bl
sub al,30h;subtract 30h to make it number
mov bl,10;move 10 to bl.
div bl;divide to get the remainder/
```

thanls in advance