From 32b0d53b07cbaa3f862369a9df41c0310a5a1a3a Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Tue, 2 Feb 2021 18:36:18 -0600 Subject: [PATCH] PLD/TCD should invalidate register==DP location correspondences. I don't think this ever comes up in code from the ORCA code generator, but it can in inline assembly. --- Native.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Native.pas b/Native.pas index f79848f..9927b49 100644 --- a/Native.pas +++ b/Native.pas @@ -777,7 +777,7 @@ case p_opcode of m_bcc,m_bcs,m_beq,m_bmi,m_bne,m_bpl,m_bra,m_brl,m_bvs,m_clc,m_cmp_abs, m_cmp_dir,m_cmp_imm,m_cmp_s,m_cpx_imm,m_jml,m_pha,m_phb,m_phd, - m_phx,m_phy,m_plb,m_pld,m_rtl,m_rts,m_sec,m_tcs,m_tcd,d_add,d_pin, + m_phx,m_phy,m_plb,m_rtl,m_rts,m_sec,m_tcs,d_add,d_pin, m_pei_dir,m_cpx_abs,m_cpx_dir,m_cmp_dirx,m_php,m_plp,m_cop,d_wrd: ; m_pea: begin @@ -810,7 +810,7 @@ case p_opcode of end; {if} end; - m_sta_s: begin + m_sta_s,m_pld,m_tcd: begin if aRegister.condition = regLocal then aRegister.condition := regUnknown; if xRegister.condition = regLocal then