diff --git a/src/cpu.ts b/src/cpu.ts index e7f4872..4e43544 100644 --- a/src/cpu.ts +++ b/src/cpu.ts @@ -228,21 +228,18 @@ class CPU { }else if(nib4 == 0x1) { // 8XY1 // Vx |= Vy - this.regs[nib2] |= this.regs[nib3]; this.regs[0xF] = 0; this.incrementPC(); }else if(nib4 == 0x2) { // 8XY2 // Vx &= Vy - this.regs[nib2] &= this.regs[nib3]; this.regs[0xF] = 0; this.incrementPC(); }else if(nib4 == 0x3) { // 8XY3 // Vx ^= Vy - this.regs[nib2] ^= this.regs[nib3]; this.regs[0xF] = 0; this.incrementPC();