diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-11-21 21:38:56 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-11-21 21:38:56 +0100 |
commit | 39bccce4fdd1d5ebe312321c963e0325e4d696c5 (patch) | |
tree | 6663c36c77a7209bb2318d1f20d2b23dcf5782e0 /asm/assembler.h | |
parent | 7fd9bbf4ea1ba5ea1b30e9ba3039195ab40c246a (diff) |
Bugfixing of stack (WIP)
Diffstat (limited to 'asm/assembler.h')
-rw-r--r-- | asm/assembler.h | 30 |
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; |