6502-emulator/src/machine/program-counter.cpp

11 lines
189 B
C++

#include "program-counter.h"
namespace emu_6502 {
void ProgramCounter::inc() {
value += 1;
}
void ProgramCounter::add(int8_t offset) {
value += offset;
}
}