mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 12:20:28 +02:00
* use xchg, instead of mov, because it's 1 byte shorter
git-svn-id: trunk@36345 -
This commit is contained in:
parent
34113b930b
commit
e8a09fba0d
@ -37,7 +37,7 @@ begin
|
|||||||
xchg ax,si
|
xchg ax,si
|
||||||
mul cx
|
mul cx
|
||||||
add si,ax
|
add si,ax
|
||||||
mov ax,di
|
xchg ax,di { 1 byte shorter than mov }
|
||||||
mul cx
|
mul cx
|
||||||
add dx,si
|
add dx,si
|
||||||
mov word[result],ax
|
mov word[result],ax
|
||||||
@ -79,7 +79,7 @@ begin
|
|||||||
jnz @@overflow
|
jnz @@overflow
|
||||||
add si,ax
|
add si,ax
|
||||||
jc @@overflow
|
jc @@overflow
|
||||||
mov ax,di
|
xchg ax,di { 1 byte shorter than mov }
|
||||||
mul cx
|
mul cx
|
||||||
add dx,si
|
add dx,si
|
||||||
jc @@overflow
|
jc @@overflow
|
||||||
|
Loading…
Reference in New Issue
Block a user