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GAIN:
MOV EAX,DWORD PTR[SI] 1
ADD SI,4 1
MOV[DI],EAX 2
ADD DI,4 1
DEC CX 1
JNZ AGAIN 3
Tæng céng 9
1
1
1
3
a+|iiB9QO('y
M(@O++9A!"
?$-&
r 'z M'
!"
4 MO GH 3A + 0Q
3H32
[3UV
kQQ gkdg
}_e gk
} Q
b_lQndg
4 M~H *H N + 7 R GH 3A
+V
kQQ gkdg
} Q
}_e gk
b_ lQndg
4 GH N i9 + 0@'(
M392
4eN(6H+0@'(!'92
45<9,9X?!"
5<9,9X?!"
!"RPDO+
@,9J;<=9>?HH
•X•?HH••b€HHR
%9
!HXR7O+rT
+?(> -&
!HEO++P
9ả'(9DHY9<}d
QgdkQQdMXdbXdQd}_edk}Qd
_qdg_q?}gL
3r'z<9,9!"
f
f
g
g
Q
Q
Q
Q
!h
!h
g
g
Q
Q
Q
Q
!h
!h
Q
Q
Q
Q
!h
!h
Q
Q
!h
!h
!h
!h
f
f
g
g
Q
Q
Q
Q
f
f
g
g
Q
Q
f
f
g
g
f
f
#
$
%
&
)
-
1
.
eee#e$e%
3. Pentium II (1997)
* Pentium pro (1995)
QO('yx
9
!8[3w93A+
eO++<=[
'<F
Thi hµnh ®éng
a c e g
b d f h
a*b+c*d e*f+g*h
* * * *
2 Double Word = 64 bits
1 Word = 16 bits
au%-eO+HIH(bb
* Pentium MMX (1997)
b"33@("(
(pd3(d@"9@d
"(d3(3'J
(p('"@
b"3@"33(
c@("((p
3pp'(p('"@
e'"@3@"3"
•"H(p('"@
e'"@@3('@(
"3•(Jc'3(
p('"@(pH'3('3ZH'(33
"'
eG(MbQ0M9@'(d
bHQ2
xH"x"VS@9;"%)+"F
xHT9VS@9;"-9
&$
#x3A+VR$73A+"F
• J I 0!3 J2V - J I '(9
&$
•oeC I 0!3 •('32V $ C & I
'(9&$
•eCIHI0Q(•('32VCIH#Z
I
'(9&$
•oeC,0‚3Z•('32Vb<=9&$
$B99rH^VC&W;#W
o
XM
o
oo'3!X
o
!X
o
QqkbXM
kL!
!
o
o
o
e~S
Qqkb
kag
!
o
o
!X
!"
!"
* CÊu tróc dIB cña
Pentium II