mirror of
https://github.com/colby-swandale/waterfoul
synced 2025-01-29 20:34:21 +01:00
fix doc spelling typos and removed doc for removed inaccurate behaviour
This commit is contained in:
parent
a145bf8e9f
commit
67535cf4c9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue