summaryrefslogtreecommitdiffhomepage
path: root/asm/assembler.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/assembler.h')
-rw-r--r--asm/assembler.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/asm/assembler.h b/asm/assembler.h
index 8cdaa31..1fdc658 100644
--- a/asm/assembler.h
+++ b/asm/assembler.h
@@ -102,11 +102,11 @@ public:
class Mem8Ptr64
{
public:
- Mem8Ptr64(const std::string& reg, int32_t offs = 0): m_reg(reg), m_offs(offs) {}
- Mem8Ptr64(const std::string& reg, const std::string& reg2, int32_t offs = 0): m_reg(reg), m_reg2(reg2), m_offs(offs) {}
- std::string reg() const { return m_reg; }
- std::string reg2() const { return m_reg2; }
- int32_t offs() const { return m_offs; }
+ Mem8Ptr64(const std::string& reg, int32_t offs = 0);
+ Mem8Ptr64(const std::string& reg, const std::string& reg2, int32_t offs = 0);
+ std::string reg() const;
+ std::string reg2() const;
+ int32_t offs() const;
private:
std::string m_reg;
@@ -118,11 +118,11 @@ public:
class Mem32Ptr64
{
public:
- Mem32Ptr64(const std::string& reg, int32_t offs = 0): m_reg(reg), m_offs(offs) {}
- Mem32Ptr64(const std::string& reg, const std::string& reg2, int32_t offs = 0): m_reg(reg), m_reg2(reg2), m_offs(offs) {}
- std::string reg() const { return m_reg; }
- std::string reg2() const { return m_reg2; }
- int32_t offs() const { return m_offs; }
+ Mem32Ptr64(const std::string& reg, int32_t offs = 0);
+ Mem32Ptr64(const std::string& reg, const std::string& reg2, int32_t offs = 0);
+ std::string reg() const;
+ std::string reg2() const;
+ int32_t offs() const;
private:
std::string m_reg;
@@ -134,11 +134,11 @@ public:
class Mem64Ptr64
{
public:
- Mem64Ptr64(const std::string& reg, int32_t offs = 0): m_reg(reg), m_offs(offs) {}
- Mem64Ptr64(const std::string& reg, const std::string& reg2, int32_t offs = 0): m_reg(reg), m_reg2(reg2), m_offs(offs) {}
- std::string reg() const { return m_reg; }
- std::string reg2() const { return m_reg2; }
- int32_t offs() const { return m_offs; }
+ Mem64Ptr64(const std::string& reg, int32_t offs = 0);
+ Mem64Ptr64(const std::string& reg, const std::string& reg2, int32_t offs = 0);
+ std::string reg() const;
+ std::string reg2() const;
+ int32_t offs() const;
private:
std::string m_reg;