Deleting lines lol
This commit is contained in:
parent
bc0f326bcc
commit
99ca29f244
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user