I have some opcodes that I need to directly insert into the instruction sequence of an __asm section. The reason for this is that VC++ 6.0 doesnt seem to recognize the specific opcode in question. So what I wanted to do was directly insert the appropriate bytes as DB 0x00 statements. My question is, will the compiler leave them in the order and placement so that they translate into instructions, or will it attempt to 'optimize' them and move them around?
example:
Code:
fld Val1;
fld Val2;
db 0xde 0xc9 ; // direct encoding of the FMULP instruction