Lines Matching refs:ModRMByte
93 inline static unsigned char ModRMByte(unsigned Mod, unsigned RegOpcode,
101 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS);
106 // SIB byte is in the same format as the ModRMByte.
107 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS);
250 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS);
290 EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS);
300 EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS);
306 EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS);
312 EmitByte(ModRMByte(2, RegOpcodeField, BaseRegNo), CurByte, OS);
327 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS);
331 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS);
338 EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS);
341 EmitByte(ModRMByte(1, RegOpcodeField, 4), CurByte, OS);
345 EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS);