summary refs log tree commit diff
path: root/instructions/CLC.ts
blob: d14b2f445a443d881dc8a1cc3efcd5ae6ed177d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import type The65c02 from "../65c02.ts";

export default function (this: The65c02, mode: string) {
    switch (mode) {
        case 'implied':
            this.carry = false;
            this.programCounter.increment();
            break;
    
        default:
            throw 'wha';
    }
}