Commit graph

39 commits

Author SHA1 Message Date
Ryan Kurtz
df57cf3351 Merge branch 'GP-0_ryanmkurtz_PR-6204_antoniovazquezblanco_pic' 2025-03-06 11:32:36 -05:00
emteere
3abaebdfd1 GP-4596 adding TMR0 to pspec file 2024-07-24 19:07:56 -04:00
emteere
95aae27501 GP-4596 refactored attach table to be more explicit, code review changes 2024-07-24 19:07:54 -04:00
emteere
04972dc810 GP-4569 Pic instruction modifications, analyzer fix for 0 values in
small registers affecting PCLATH, modification of PIC16 analysis
defaults
2024-07-24 19:07:53 -04:00
Antonio Vázquez Blanco
a483c7c971 Processors:PIC: Fix PIC16 RP flag propagation + minor fixes and comments 2024-07-24 19:07:52 -04:00
ghidorahrex
3169948bc8 GP-3723: Added PIC16F MOVLB variant instruction 2024-04-09 13:00:58 +00:00
Antonio Vázquez Blanco
a38d30f233 processors:pic: Fix PIC16F description 2024-02-15 23:06:22 +01:00
Mike Nawrocki
2003baa523 PIC24: Fix DOEND register offset
Based on the datasheet: https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/70117F.pdf Table 3-3 (p 38)

DOEND should start at offset 0x3E
2023-11-20 16:15:33 +00:00
James
35e46d773b GP-3537 improve le in PIC24.sinc 2023-06-09 21:13:42 +00:00
Ryan Kurtz
0ed00bdd50 GP-0: Fixing the remainder of the "psuedo" spellings (#4601) 2022-09-20 01:02:00 -04:00
Dan
760a9ca462 GP-1426: Refactor assembler. Fix issue where Sleigh passes context to the right. 2022-03-28 14:59:46 -04:00
ghidra1
5b24b188d8 GP-1565 corrected PIC swap semantics 2021-12-01 10:01:42 -05:00
Ryan Kurtz
bd4a5eeb97 GP-0: Fixing typo in pic18.slaspec comment (Closes #782) 2021-08-13 12:22:09 -04:00
ghidra1
0a8db1e0ad Merge remote-tracking branch 'origin/GP-647_ghidorahrex_pic24_return_instructions' into Ghidra_10.0 2021-06-01 10:02:10 -04:00
ghidorahrex
c9634dd808 Fixed correct SRL byte to grab from tmp 2021-05-21 10:44:29 -04:00
ghidorahrex
38a38056e8 removed @if NEVER blocks from PIC24.sinc 2021-05-21 10:40:38 -04:00
ghidra1
e9753ebceb Merge remote-tracking branch
'origin/GP-841_ghidorahrex_pic16_missing_instructions--SQUASHED'

Conflicts:
	Ghidra/Processors/PIC/data/languages/pic16_instructions.sinc
2021-05-10 20:45:41 -04:00
ghidorahrex
1e109f9474 Added Z flag updates for shift instructions.
Added missing PIC16 instructions
2021-05-10 10:30:10 -04:00
ghidra1
8f9b067384 GP-901 added regiater alias support and defined WREG aliases for PIC24
variants
2021-04-28 16:04:03 -04:00
ghidra1
a372f17736 Merge remote-tracking branch
'origin/GP-841_ghidorahrex_pic16_missing_instructions' (Closes #1362)
2021-04-21 19:11:58 -04:00
ghidorahrex
fc3fef823d Restored unpackSRL macro to return instructions. 2021-04-15 07:34:45 -04:00
ghidorahrex
18eb9bc2d2 Added missing PIC16 instructions 2021-04-12 10:52:52 -04:00
ghidorahrex
6eb6bde3f4 Simplified PIC24 return instruction semantics. 2021-04-09 14:17:40 -04:00
gtackett
0cc1568871
Fix for #2844 re. addresses of TBLPAG and PSVPAG 2021-03-18 09:57:45 -04:00
ghidra1
305a1ddf98 Merge branch 'ghidra1_PIC30_ElfImportFixes' 2020-05-14 16:02:55 -04:00
ghidra1
251e14562d PIC24/30/33 corrections and ELF import improvements for Harvard
Architecture
2020-05-14 15:29:52 -04:00
ghidra1
3b05eada12 Merge remote-tracking branch 'origin/patch' 2020-03-27 12:30:34 -04:00
ghidra1
7c8d4257e0 Corrected PIC24 non-critical property key 2020-03-27 10:34:21 -04:00
ghidorahrex
707879af79 GT-3562: Updated pic24/pic30 idx and slaspec 2020-03-18 13:48:22 -04:00
mumbel
dce6e9f6a8 Cleaning up warnings and errors, mostly looking for:
temporary is written but not read in constructor
2020-01-22 19:51:45 -06:00
Michael Huebler
eca42913d6 On PIC16 instruction MOVIW added setResultFlags(W), because this instruction affects Z 2019-08-30 19:23:35 +02:00
Ryan Kurtz
e9f542f4f2 Merge remote-tracking branch
'origin/GT-3091_ghidorahrex_PR-665_mh-_fix_pic16_w_vs_wreg'
2019-08-20 13:24:36 -04:00
ghidorahrex
b4096d1061 Fixed build errors in PIC-30 (Fixes #897) 2019-08-12 08:21:22 -04:00
ghidorahrex
6a75b66995 PIC 30 code review fixes. Changed "repeat 0x12" to "repeat 0x11".
Modified plain division instructions to use pcodeops since we can't
implement the normal instructions.
2019-08-06 12:02:13 -04:00
ghidorahrex
d7877b0353 Updated pcode tests for PIC30 issues. 2019-07-19 13:22:06 -04:00
ghidorahrex
05d9679a3d Added instructions that correctly emulate/model/decompile division for
the PIC-24 and PIC-30.
2019-07-19 13:22:05 -04:00
Michael Huebler
c2d798cbb2 renamed WREG to W so that the decompiler can use it properly as a function parameter. 2019-06-07 22:34:22 +02:00
ghidra1
7179c6de81 GT-2667 added support for generating sleigh build.xml files 2019-03-29 17:24:31 -04:00
Dan
79d8f164f8 Candidate release of source code. 2019-03-26 13:46:51 -04:00