mirror of
https://github.com/FrancescoRigoni/Lib65816.git
synced 2024-12-21 19:29:17 +00:00
56 lines
1.5 KiB
C++
56 lines
1.5 KiB
C++
/*
|
|
* This file is part of the 65816 Emulator Library.
|
|
* Copyright (c) 2018 Francesco Rigoni.
|
|
*
|
|
* https://github.com/FrancescoRigoni/Lib65816
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, version 3.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef ADDRESSING_HPP
|
|
#define ADDRESSING_HPP
|
|
|
|
enum class AddressingMode {
|
|
Interrupt,
|
|
Accumulator,
|
|
BlockMove,
|
|
Implied,
|
|
Immediate,
|
|
Absolute,
|
|
AbsoluteLong,
|
|
AbsoluteIndirect,
|
|
AbsoluteIndirectLong,
|
|
AbsoluteIndexedIndirectWithX, // index with X
|
|
AbsoluteIndexedWithX,
|
|
AbsoluteLongIndexedWithX,
|
|
AbsoluteIndexedWithY,
|
|
DirectPage,
|
|
DirectPageIndexedWithX,
|
|
DirectPageIndexedWithY,
|
|
DirectPageIndirect,
|
|
DirectPageIndirectLong,
|
|
DirectPageIndexedIndirectWithX,
|
|
DirectPageIndirectIndexedWithY,
|
|
DirectPageIndirectLongIndexedWithY,
|
|
StackImplied,
|
|
StackRelative,
|
|
StackAbsolute,
|
|
StackDirectPageIndirect,
|
|
StackProgramCounterRelativeLong,
|
|
StackRelativeIndirectIndexedWithY,
|
|
ProgramCounterRelative,
|
|
ProgramCounterRelativeLong
|
|
};
|
|
|
|
#endif // ADDRESSING_HPP
|