Difference between revisions of "Assembler:Commands:CMOVS"
Jump to navigation
Jump to search
(Created page with 'Category:Assembler '''command''' cmovs ''destination, source'' cmovs is CMOVcc instruction, The cmovs (conditional move if sign) check the state of '''SF''', if '''SF=1''' t…') |
(No difference)
|
Revision as of 07:03, 5 January 2018
command cmovs destination, source
cmovs is CMOVcc instruction, The cmovs (conditional move if sign) check the state of SF, if SF=1 then condition satisfied and the cmovs will be executed. Otherwise it will be skipped, and the execution will continues with the instruction following it. cmovs is used for signed integers.
Command Parameters
Parameter | Description |
---|---|
destination | r16 / r32 |
source | m16-r16 / m32-r32 |
Examples
cmovs dx,ax
cmovs cx,[bx]
cmovs edx,[edx+110]
cmovs eax,edx
cmovs esi,[00123abc]
cmovs edi,[UserDefinedSymbol]