blob: 566c6d4eb613c2b7ee80c2d2328ecf78a13e2f34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import type The65c02 from "../65c02.ts";
export default function (this: The65c02, mode: string) {
switch (mode) {
case 'implied':
this.regY.increment()
this.negative = this.regY.bit(7);
this.zero = this.regY.num() == 0;
this.programCounter.increment();
break;
default:
throw 'wha';
}
}
|