asmjit::x86::CReg Class Reference

32-bit or 64-bit control register (X86).

Static Public Attributes

- Static Public Attributes inherited from asmjit::BaseReg

Member Functions

- Public Member Functions inherited from asmjit::x86::Reg
- Public Member Functions inherited from asmjit::BaseReg
- Public Member Functions inherited from asmjit::Operand
- Public Member Functions inherited from asmjit::Operand_

Static Functions

- Static Public Member Functions inherited from asmjit::x86::Reg
- Static Public Member Functions inherited from asmjit::BaseReg
- Static Public Member Functions inherited from asmjit::Operand_

Additional Inherited Members

- Public Attributes inherited from asmjit::Operand_
- Public Types inherited from asmjit::x86::Reg
- Public Types inherited from asmjit::BaseReg
- Public Types inherited from asmjit::Operand_

Constructor & Destructor Documentation

x86::CReg::CReg()constexprconstexprnoexcept[1/6]

Default constructor that only setups basics.

x86::CReg::CReg(const CReg& other)constexprconstexprnoexcept[2/6]

Makes a copy of the other register operand.

x86::CReg::CReg(const BaseReg& other, uint32_t rId)constexprconstexprnoexcept[3/6]

Makes a copy of the other register having id set to rId

x86::CReg::CReg(uint32_t signature, uint32_t rId)constexprconstexprnoexcept[4/6]

Creates a register based on signature and rId.

x86::CReg::CReg(Globals::NoInit_)explicitnoexcept[5/6]

Creates a completely uninitialized CReg register operand (garbage).

x86::CReg::CReg(uint32_t rId)constexprexplicitconstexprnoexcept[6/6]

Creates a register operand having its id set to rId.

Member Function Documentation

CReg x86::CReg::fromTypeAndId(uint32_t rType, uint32_t rId)staticnoexcept

Creates a new register from register type and id.

CReg x86::CReg::clone() constconstexprconstexprnoexcept

Clones the register operand.