From 0cc15688717fc473e72d3ee517f76958f551ec79 Mon Sep 17 00:00:00 2001 From: gtackett Date: Thu, 18 Mar 2021 09:57:45 -0400 Subject: [PATCH] Fix for #2844 re. addresses of TBLPAG and PSVPAG --- Ghidra/Processors/PIC/data/languages/PIC24.sinc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ghidra/Processors/PIC/data/languages/PIC24.sinc b/Ghidra/Processors/PIC/data/languages/PIC24.sinc index 5392c6e1c7..4185851431 100644 --- a/Ghidra/Processors/PIC/data/languages/PIC24.sinc +++ b/Ghidra/Processors/PIC/data/languages/PIC24.sinc @@ -86,8 +86,8 @@ define ram offset=0x36 size=2 [ RCOUNT ]; # Repeat counter # define ram offset=0x38 size=2 [ DCOUNT ]; # 13 bits long DO Loop counter define ram offset=0x54 size=1 [ TBLPAG ]; # 7bit Data Table Page Address @else -define ram offset=0x31 size=1 [ TBLPAG ]; # 8bit Data Table Page Address -define ram offset=0x33 size=1 [ PSVPAG ]; # Program Memory Visibility Page Address Pointer +define ram offset=0x32 size=1 [ TBLPAG ]; # 8bit Data Table Page Address +define ram offset=0x34 size=1 [ PSVPAG ]; # Program Memory Visibility Page Address Pointer define ram offset=0x36 size=2 [ RCOUNT ]; # Repeat counter define ram offset=0x38 size=2 [ DCOUNT ]; # 13 bits long DO Loop counter define ram offset=0x3A size=3 [ DOSTART ];