title: Can I directly run compiled code in windows?
body: <p>In <a href="https://godbolt.org/z/dGvW9z" rel="nofollow noreferrer">this</a> site, wrote a simple C code and got its assembly code: (x86-64 gcc 10.2)</p>
  <pre><code>#include&lt;stdio.h&gt;
  // Type your code here, or load an example.
  int main() {
      int a=5, b=5;
      int c = a+b;
      return 0;
  }
  </code></pre>
  <pre><code>main:
          push    rbp
          mov     rbp, rsp
          mov     DWORD PTR [rbp-4], 5
          mov     DWORD PTR [rbp-8], 5
          mov     edx, DWORD PTR [rbp-4]
          mov     eax, DWORD PTR [rbp-8]
          add     eax, edx
          mov     DWORD PTR [rbp-12], eax
          mov     eax, 0
          pop     rbp
          ret
  </code></pre>
  <p>If I copy the above assembly code and paste it in notepad, can I somehow run it in windows to get the same expected output as if I ran the above C code? If I can, how should I do it.</p>