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:
parent
8335cf5421
commit
657b69da6c
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user