* use xchg, instead of mov, because it's 1 byte shorter

git-svn-id: trunk@36345 -
This commit is contained in:
nickysn 2017-05-26 18:26:00 +00:00
parent 34113b930b
commit e8a09fba0d

View File

@ -37,7 +37,7 @@ begin
xchg ax,si
mul cx
add si,ax
mov ax,di
xchg ax,di { 1 byte shorter than mov }
mul cx
add dx,si
mov word[result],ax
@ -79,7 +79,7 @@ begin
jnz @@overflow
add si,ax
jc @@overflow
mov ax,di
xchg ax,di { 1 byte shorter than mov }
mul cx
add dx,si
jc @@overflow