Added missing PHP and PLP instructions

This commit is contained in:
Leeland Heins 2018-12-18 23:32:31 -06:00 committed by GitHub
parent 090f4bd6a9
commit 6b5812d327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

10
da65.pl
View File

@ -691,6 +691,11 @@ my %opcodes = (
'modesub' => \&mode_Implied,
'mnemonic' => 'PHA'
},
# PHP Implied PHP 08 1 3
0x08 => {
'modesub' => \&mode_Implied,
'mnemonic' => 'PHP'
},
# PHX Implied PHX DA 1 3
0xda => {
'modesub' => \&mode_Implied,
@ -706,6 +711,11 @@ my %opcodes = (
'modesub' => \&mode_Implied,
'mnemonic' => 'PLA'
},
# PLP Implied PLP 28 1 4
0x68 => {
'modesub' => \&mode_Implied,
'mnemonic' => 'PLP'
},
# PLX Implied PLX FA 1 4
0xfa => {
'modesub' => \&mode_Implied,