1
0
mirror of https://github.com/sethm/symon.git synced 2024-06-07 19:29:27 +00:00

Cleanup my comments

This commit is contained in:
Matt Harlum 2016-03-20 16:57:20 +11:00
parent 8335cf5421
commit 657b69da6c
2 changed files with 3 additions and 5 deletions

View File

@ -260,7 +260,6 @@ public class Cpu implements InstructionTable {
/** Single Byte Instructions; Implied and Relative **/
case 0x00: // BRK - Force Interrupt - Implied
// BRK is non-maskable. - http://www.atarimax.com/jindroush.atari.org/aopc.html#BRK
handleBrk(state.pc + 1);
break;
case 0x08: // PHP - Push Processor Status - Implied
@ -762,7 +761,7 @@ public class Cpu implements InstructionTable {
}
else
{
// IRQ & NMI clear break flag - http://www.pagetable.com/?p=410
// IRQ & NMI clear break flag
clearBreakFlag();
}

View File

@ -144,8 +144,7 @@ public class CpuImpliedModeTest {
assertEquals(0x203, cpu.getProgramCounter());
// Triggers the BRK, which should do nothing because
// of the Interrupt Disable flag
// Triggers the BRK
cpu.step();
@ -642,4 +641,4 @@ public class CpuImpliedModeTest {
assertFalse(cpu.getZeroFlag());
assertTrue(cpu.getNegativeFlag());
}
}
}