mirror of
https://github.com/tdinucci/6502-emulator.git
synced 2024-06-09 16:29:34 +00:00
11 lines
189 B
C++
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;
|
|
}
|
|
} |