
;    if ( %eax > 5 ) {
        cmp     $5, %eax    ; subtracts %eax-5 without saving
        jng     else        ; jump if not greater than

;       do whatever

        jmp     end_if
} else {
else:                       ; name this label whatever

;       or do this if %eax is less than or equal to 5

;    }
end_if:

