all repos — mgba @ c134c6cae197d933ecb0bec1d91cc422eccd0c7b

mGBA Game Boy Advance Emulator

include/mgba/internal/arm/isa-thumb.h (view raw)

 1/* Copyright (c) 2013-2014 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#ifndef ISA_THUMB_H
 7#define ISA_THUMB_H
 8
 9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13struct ARMCore;
14
15typedef void (*ThumbInstruction)(struct ARMCore*, unsigned opcode);
16extern const ThumbInstruction _thumbTable[0x400];
17
18CXX_GUARD_END
19
20#endif