chore: minor edits to documentation

This commit is contained in:
2021-08-14 17:51:09 -05:00
parent 5d6df46a2d
commit 1b78b248a3
2 changed files with 4 additions and 3 deletions

View File

@@ -104,10 +104,10 @@ impl Cpu {
Instruction::execute(self, instruction)
}
/// Perform the [`Cpu::fetch()`] [`Cpu::decode(opcode)`] [`Cpu::execute(instr)`]
/// Perform the [`Cpu::fetch()`] [`Cpu::decode()`] [`Cpu::execute()`]
/// routine.
///
/// Handle HALT state and interrupts.
/// Handle HALT and interrupts.
pub fn step(&mut self) -> Cycle {
// Log instructions
// if self.reg.pc > 0xFF {