如何通过乘或/和除之一改变加法的功能?在FASM

时间:2018-11-14 05:49:27

标签: assembly fasm

我用两个数字做加法运算,但是我想对两个数字进行乘除运算。

这是我得到的代码的摘要。

mov dx, result
mov ah,9         ;Prints a message for the result
int 21h

add bl,cl  ;Gets the result of the addition of the first digit
sub bl,30h

add bh,ch    ;Gets the result of the addition of the second digit
sub bh,30h

0 个答案:

没有答案