Deleting lines lol

This commit is contained in:
Miguel Angel 2024-09-08 22:15:06 +02:00
parent bc0f326bcc
commit 99ca29f244

View File

@ -228,21 +228,18 @@ class CPU {
}else if(nib4 == 0x1) { }else if(nib4 == 0x1) {
// 8XY1 // 8XY1
// Vx |= Vy // Vx |= Vy
this.regs[nib2] |= this.regs[nib3]; this.regs[nib2] |= this.regs[nib3];
this.regs[0xF] = 0; this.regs[0xF] = 0;
this.incrementPC(); this.incrementPC();
}else if(nib4 == 0x2) { }else if(nib4 == 0x2) {
// 8XY2 // 8XY2
// Vx &= Vy // Vx &= Vy
this.regs[nib2] &= this.regs[nib3]; this.regs[nib2] &= this.regs[nib3];
this.regs[0xF] = 0; this.regs[0xF] = 0;
this.incrementPC(); this.incrementPC();
}else if(nib4 == 0x3) { }else if(nib4 == 0x3) {
// 8XY3 // 8XY3
// Vx ^= Vy // Vx ^= Vy
this.regs[nib2] ^= this.regs[nib3]; this.regs[nib2] ^= this.regs[nib3];
this.regs[0xF] = 0; this.regs[0xF] = 0;
this.incrementPC(); this.incrementPC();