#include "global.h"
#include <cstring>
#include "x86istr.h"
#include "x86instr.h"
Go to the source code of this file.
Defines | |
#define | REG_INFO(reg) (*RegistryInfo::GetInfo(reg)) |
#define | COMPLETE(reg) (REG_INFO(reg).completeReg) |
#define | INTERSECT(reg_a, reg_b) ( REG_INFO(reg_a).completeReg == REG_INFO(reg_b).completeReg && (REG_INFO(reg_a).partialMask®_INFO(reg_b).partialMask)!=0 ) |
#define | USE_TYPE(u) static_cast<enum Instruction::UseType>(u) |
Enumerations | |
enum | Operations { Assign, Negate, Complement, Zero, Xor, Sub, Add, And, Or } |
enum | FlagCombine { UsuallyFlag, FlagCarry, FlagZero, FlagParity, FlagNone } |
Functions | |
void | Operation1 (Operations op, const Param ¶m, FlagCombine flag) |
void | Operation2 (Operations op, const Param *dst, const Param &p1, FlagCombine flag) |
void | Operation3 (Operations op, const Param *dst, const Param &p1, const Param &p2, FlagCombine flag) |
void | SetFlag (FlagCombine flag, FlagCombine mask) |
|
Definition at line 35 of file x86instr.cpp. Referenced by Instruction::GetUseType(). |
|
Definition at line 36 of file x86instr.cpp. Referenced by Instruction::GetUseType(). |
|
Definition at line 34 of file x86instr.cpp. Referenced by Instruction::GetUseType(). |
|
Definition at line 37 of file x86instr.cpp. Referenced by Instruction::GetUseType(). |
|
Definition at line 519 of file x86instr.cpp. Referenced by Operation1(), Operation2(), Operation3(), SetFlag(), and Instruction::WriteRegUsage().
00519 { UsuallyFlag,FlagCarry,FlagZero,FlagParity,FlagNone } FlagCombine; |
|
Definition at line 518 of file x86instr.cpp. Referenced by Operation1(), Operation2(), and Operation3().
00518 { Assign,Negate,Complement,Zero,Xor,Sub,Add,And,Or } Operations; |
|
Definition at line 520 of file x86instr.cpp. References FlagCombine, and Operations. Referenced by Instruction::WriteRegUsage().
00521 {} |
|
Definition at line 522 of file x86instr.cpp. References FlagCombine, and Operations. Referenced by Instruction::WriteRegUsage().
00523 {} |
|
Definition at line 524 of file x86instr.cpp. References FlagCombine, and Operations. Referenced by Instruction::WriteRegUsage().
00525 {} |
|
Definition at line 526 of file x86instr.cpp. References FlagCombine. Referenced by Instruction::WriteRegUsage().
00527 {} |