assembly - c++ - use asm in functions with just bytes instead of instruction name -


is there way write assembly instructions using corresponding bytes. i'm thinking:

__asm {  0x7d8802a6  0x9181fff8 } 

instead of like:

__asm {  stw       r12, -8(r1) } 

this highly compiler-dependent. gcc's inline assembly syntax accommodate assembler ok with, e.g.

__asm__(".word 0x7d8802a6, 0x9181fff8") 

i not familiar whichever compiler has __asm { ... } syntax refer to.


Comments

Popular posts from this blog

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

wordpress - (T_ENDFOREACH) php error -

Using django-mptt to get only the categories that have items -