 and eax,1
            IF eax,==,0
                CONTINUE
            ENDIF
            INVOKE printf, message, ecx
        ENDWHILE
    ENDPROC

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    [section .data]
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    message: declare(NASMX_TCHAR) NASMX_TEXT('%d is odd.'),13,10,0

</pre><br>

<h3><a name="section-E.4">EX. 4 : Exponent</a></h3>
<h4>Description</h4>
&nbsp&nbsp&nbsp&nbsp  Displays the result of the number 2 raised to the power of X.
<h4>Code:</h4