From 6b5812d32792c82a3276f19dd9b815a7c1006323 Mon Sep 17 00:00:00 2001 From: Leeland Heins Date: Tue, 18 Dec 2018 23:32:31 -0600 Subject: [PATCH] Added missing PHP and PLP instructions --- da65.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/da65.pl b/da65.pl index bdaf3a2..9c36848 100644 --- a/da65.pl +++ b/da65.pl @@ -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,