请教,
add ecx,2 现在的ecx=3
repe cmps dword pro es:[edi],dword pro ds:[esi]
je ******
第二句中的dword pro es:[edi]为00000001,dword pro ds:[esi]为00000001
接下来的je无法跳,第二句中的数据要是多少,才能让je跳?
CMPS - Compare String (Byte, Word or Doubleword)
Usage: CMPS dest,src
CMPSB
CMPSW
CMPSD (386+)
Modifies flags: AF CF OF PF SF ZF
Subtracts destination value from source without saving results.
Updates flags based on the subtraction and the index registers
(E)SI and (E)DI are incremented or decremented depending on the
state of the Direction Flag. CMPSB inc/decrements the index
registers by 1, CMPSW inc/decrements by 2, while CMPSD increments
or decrements by 4. The REP prefixes can be used to process
entire data items.
Clocks Size
Operands 808x 286 386 486 Bytes
dest,src 22 8 10 8 1 (W88=30)