summary refs log tree commit diff
path: root/instructions/CLC.ts
blob: f909d85da2ae646a6ba2bede429313a2a31b5342 (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 'implicit':
            this.carry = false;
            this.programCounter.increment();
            break;
    
        default:
            throw 'wha';
    }
}