static private copy_instr_flags ( INSTRUCTION &instr, OPCODE_DESCRIPTOR &opcode ) : void | ||
instr | INSTRUCTION | |
opcode | OPCODE_DESCRIPTOR | |
return | void |
static void copy_instr_flags(ref INSTRUCTION instr, ref OPCODE_DESCRIPTOR opcode)
{
if ((opcode.props & PROP_IOPL)!=0)
instr.flags |= INSTR_FLAG_IOPL;
if ((opcode.props & PROP_RING0)!=0)
instr.flags |= INSTR_FLAG_RING0;
if ((opcode.props & PROP_SERIAL)!=0)
instr.flags |= INSTR_FLAG_SERIAL;
if ((opcode.props & PROP_UNDOC) != 0)
instr.flags |= INSTR_FLAG_UNDOC;
}