I think my answer is correct - it's very low on context, but so is your question.
The fact that 22 + 88 gives the answer 110 is not a fault of the code I wrote, but rather that 22 + 88 makes 110 whatever method you add them - try it with a calculator, or by hand, or soemthing.
THere are of course multiple other ways to add two numbers together in assembler, because there are several instructions that result in the same thing:
A less obvious variety:
Code:
mov ax, 22
mov bx, 88
neg bx
sub ax, bx
This is equivalent to 22 - (-88), which of course is the same as 22 + 88.
Result is still 110 of course.
--
Mats