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
Post a Comment