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

11 lines
189 B
C++
Raw Permalink Normal View History

#include "program-counter.h"
namespace emu_6502 {
void ProgramCounter::inc() {
value += 1;
}
2019-04-21 22:12:56 +00:00
void ProgramCounter::add(int8_t offset) {
value += offset;
}
}