Assembler in C++
<p>I have the following code.</p>

<pre><code>#include&lt;iostream&gt;
using namespace std;
int main() {
    int result=0;
    _asm {
         mov eax,2
         mov eax,result;
    }

    cout&lt;&lt;result&lt;&lt;endl;
    return 0;
}
</code></pre>

<p>I know assembler well but why doesn't the program output 2 to the screen?</p>
