Fixed bugs in a couple of opcodes

This commit is contained in:
Leeland Heins 2018-12-18 10:11:31 -06:00 committed by GitHub
parent 77a87388d5
commit 090f4bd6a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,12 +216,12 @@ my %opcodes = (
'mnemonic' => 'BCC' 'mnemonic' => 'BCC'
}, },
# BCS Relative BCS Oper B0 2 2 # BCS Relative BCS Oper B0 2 2
0xB0 => { 0xb0 => {
'modesub' => \&mode_Relative, 'modesub' => \&mode_Relative,
'mnemonic' => 'BCS' 'mnemonic' => 'BCS'
}, },
# BEQ Relative BEQ Oper F0 2 2 # BEQ Relative BEQ Oper F0 2 2
0xF0 => { 0xf0 => {
'modesub' => \&mode_Relative, 'modesub' => \&mode_Relative,
'mnemonic' => 'BEQ' 'mnemonic' => 'BEQ'
}, },
@ -749,7 +749,7 @@ my %opcodes = (
'operand' => 'A' 'operand' => 'A'
}, },
# Zero Page ROR Zpg 66 2 5 # Zero Page ROR Zpg 66 2 5
0x6a => { 0x66 => {
'modesub' => \&mode_Zero_Page, 'modesub' => \&mode_Zero_Page,
'mnemonic' => 'ROR' 'mnemonic' => 'ROR'
}, },