fix doc spelling typos and removed doc for removed inaccurate behaviour

This commit is contained in:
Colby Swandale 2016-09-26 17:29:05 +10:00
parent a145bf8e9f
commit 67535cf4c9

View file

@ -85,7 +85,7 @@ module Waterfoul
@halt
end
# execute teh instruction needed to be be perforemd by using
# execute the instruction needed to be perforemd by using
# a lookup value for the opcode table
def perform_instruction(instruction)
operation = OPCODE[instruction]
@ -96,7 +96,7 @@ module Waterfoul
end
# fetch the next byte to be executed from memory and increment the program
# counter (except under particular circumstances, see interrupts)
# counter
def fetch_instruction
instruction_byte = $mmu.read_byte @pc
@pc = (@pc + 1) & 0xFFFF