// Wave-6 slice 6-assembler: cmovcc + [rel] data access (encoder expansion group)
// Expected exit code: 42
section .data
seven: dd 7

section .text
global main
main:
    mov eax, 10
    mov ecx, 20
    cmp eax, ecx
    cmovl eax, ecx        ; 10 < 20 -> eax = 20
    cmp eax, ecx
    cmovne eax, dword [rel seven]  ; equal -> no move, eax stays 20
    cmp eax, ecx
    cmove eax, dword [rel seven]   ; equal -> eax = 7
    add eax, 35           ; 7 + 35 = 42
    ret
