_emit Pseudoinstruction
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at _emit Pseudoinstruction.
Microsoft Specific
The _emit pseudoinstruction defines one byte at the current location in the current text segment. The _emit pseudoinstruction resembles the DB directive of MASM.
The following fragment places the bytes 0x4A, 0x43, and 0x4B into the code:
#define randasm __asm _emit 0x4A __asm _emit 0x43 __asm _emit 0x4B
.
.
.
__asm {
randasm
}
If |
END Microsoft Specific