mirror of
https://github.com/tdinucci/6502-emulator.git
synced 2024-09-27 13:55:49 +00:00
19 lines
455 B
C++
19 lines
455 B
C++
#ifndef INC_6502_EMULATOR_PROGRAM_COUNTER_H
|
|
#define INC_6502_EMULATOR_PROGRAM_COUNTER_H
|
|
|
|
#include "register.h"
|
|
|
|
namespace emu_6502 {
|
|
class ProgramCounter : public Register<uint16_t> {
|
|
public:
|
|
ProgramCounter() : Register<uint16_t>("PC") {}
|
|
|
|
ProgramCounter(const ProgramCounter&) = delete;
|
|
ProgramCounter& operator=(const ProgramCounter&) = delete;
|
|
|
|
void inc();
|
|
};
|
|
}
|
|
|
|
#endif //INC_6502_EMULATOR_PROGRAM_COUNTER_H
|