Path: blob/master/libmeteor/include/ameteor/disassembler/argrelative.hpp
2 views
// Meteor - A Nintendo Gameboy Advance emulator1// Copyright (C) 2009-2011 Philippe Daouadi2//3// This program is free software: you can redistribute it and/or modify4// it under the terms of the GNU General Public License as published by5// the Free Software Foundation, either version 3 of the License, or6// (at your option) any later version.7//8// This program is distributed in the hope that it will be useful,9// but WITHOUT ANY WARRANTY; without even the implied warranty of10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11// GNU General Public License for more details.12//13// You should have received a copy of the GNU General Public License14// along with this program. If not, see <http://www.gnu.org/licenses/>.1516#ifndef __ARG_RELATIVE_H__17#define __ARG_RELATIVE_H__1819#include "argument.hpp"20#include "argregister.hpp"21#include "argimmediate.hpp"2223namespace AMeteor24{25namespace Disassembler26{27class ArgRelative : public Argument28{29public :30ArgRelative (const ArgRegister& reg, const Argument& off,31bool pre, bool up, bool writeback);32ArgRelative (const ArgRelative& arg);33~ArgRelative ();3435Argument* Clone () const;3637std::string GetString () const;3839private :40ArgRegister m_reg;41const Argument* m_off;42bool m_pre;43bool m_up;44bool m_writeback;45};46}47}4849#endif505152