mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 15:47:53 +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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user