title: How to inline in C++ self modifying assembly code?
body: <p>How would I inline this in C++ function.</p>
  
  <pre><code>0041F84E   . 7B 02          JPO SHORT Unmodifi.0041F852
  0041F850     B8             DB B8
  0041F851     00             DB 00
  0041F852   . 8B46 38        MOV EAX,DWORD PTR DS:[ESI+38]
  0041F855   . 8B56 24        MOV EDX,DWORD PTR DS:[ESI+24]
  0041F858   . 8B4E 10        MOV ECX,DWORD PTR DS:[ESI+10]
  0041F85B   . 81EA 8B4B8636  SUB EDX,36864B8B
  </code></pre>
  
  <p>How would I put 
  <code>DB B8</code> 
  <code>DB 00</code></p>
  
  <pre><code>void test() {
      __asm {
          ...
          JPO label_0041F852
          __emit 0xB8
          __emit 00
  label_0041F852:
          MOV EAX,DWORD PTR DS:[ESI+0x38]
          MOV EDX,DWORD PTR DS:[ESI+0x24]
          MOV ECX,DWORD PTR DS:[ESI+0x10]
          SUB EDX,0x36864B8B
          ...
      }
  }
  </code></pre>
  
  <p><strong>error C2400: inline assembler syntax error in 'opcode'; found 'constant'</strong>
  Error executing cl.exe.</p>
  
  <p>I don't think I can put this in the <code>.data</code> section, I've read thats all I can do to include bytes like this.</p>