Path: blob/master/libmeteor/include/ameteor/disassembler/argimmediate.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_IMMEDIATE_H__17#define __ARG_IMMEDIATE_H__1819#include "argument.hpp"20#include <stdint.h>2122namespace AMeteor23{24namespace Disassembler25{26class ArgImmediate : public Argument27{28public :29ArgImmediate (int32_t imm) :30m_imm(imm)31{ }3233Argument* Clone () const;3435std::string GetString () const;3637private :38int32_t m_imm;39};40}41}4243#endif444546