, . , x86 (, ). , .
; r = y ^ ((x ^ y) & -(x < y))
xor edx,edx
cmp ebx,eax
mov ecx,eax
setl dl
xor ecx,ebx
neg edx
and edx,ecx
xor eax,edx
; r = (x < y) ? x : y
cmp ebx,eax
cmovl eax,ebx
XOR , , 8 . x86 cmov . , ?: cmovl, 2 . ?: 4 , . , ?: , , , XOR.
, , .