Difference between revisions of "Assembler:Commands:CMOVNL"

From Cheat Engine
Jump to navigation Jump to search
(Created page with 'Category:Assembler '''command''' cmovnl ''destination, source'' cmovnl is CMOVcc instruction, The cmovnl (conditional move if not less) check the state of '''SF''' AND '''OF…')
 
m (Reverted edits by This content is not available (Talk) to last revision by OldCheatEngineUser)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
'''command''' cmovnl ''destination, source''
 
'''command''' cmovnl ''destination, source''
  
cmovnl is CMOVcc instruction, The cmovnl (conditional move if not less) check the state of '''SF''' AND '''OF''', if '''SF=OF''' then condition satisfied and the cmovnl will be executed. Otherwise it will be skipped, and the execution will continues with the instruction following it. cmovnl is used for signed integers.  
+
cmovnl is CMOVcc instruction, The cmovnl ''conditional move if not less'' check the state of '''SF''' AND '''OF'''.
 +
 
 +
If '''SF=OF''' then condition is satisfied, otherwise it will be skipped.
 +
 
 +
CMOVcc instructions are mainly used after [[Assembler:Commands:CMP|CMP]]
 +
 
 +
 
 +
<div style="padding:2px;border:1px dashed #2f6fab;background-color:#f4f4f4;">
 +
The CMOVcc instructions check the state of one or more of the status flags in the EFLAGS register (CF, OF, PF, SF, and ZF) and perform a move operation if the flags are in a specified state (or condition). A condition code (cc) is associated with each instruction to indicate the condition being tested for. If the condition is not satisfied, a move is not performed and execution continues with the instruction following the CMOVcc instruction.
 +
 
 +
These instructions can move a 16- or 32-bit value from memory to a general-purpose register or from one general-purpose register to another. Conditional moves of 8-bit register operands are not supported.
 +
 
 +
The terms "less" and "greater" are used for comparisons of signed integers and the terms "above" and "below" are used for unsigned integers.
 +
</div>
  
  

Latest revision as of 19:07, 18 March 2019

command cmovnl destination, source

cmovnl is CMOVcc instruction, The cmovnl conditional move if not less check the state of SF AND OF.

If SF=OF then condition is satisfied, otherwise it will be skipped.

CMOVcc instructions are mainly used after CMP


The CMOVcc instructions check the state of one or more of the status flags in the EFLAGS register (CF, OF, PF, SF, and ZF) and perform a move operation if the flags are in a specified state (or condition). A condition code (cc) is associated with each instruction to indicate the condition being tested for. If the condition is not satisfied, a move is not performed and execution continues with the instruction following the CMOVcc instruction.

These instructions can move a 16- or 32-bit value from memory to a general-purpose register or from one general-purpose register to another. Conditional moves of 8-bit register operands are not supported.

The terms "less" and "greater" are used for comparisons of signed integers and the terms "above" and "below" are used for unsigned integers.


Command Parameters[edit]

Parameter Description
destination r16 / r32
source m16-r16 / m32-r32


Examples[edit]

cmovnl dx,ax
cmovnl cx,[bx]
cmovnl edx,[edx+110]
cmovnl eax,edx
cmovnl esi,[00123abc]
cmovnl edi,[UserDefinedSymbol]


See also[edit]

External links[edit]