Commit Graph

91 Commits

Author SHA1 Message Date
ghidorahrex
66c727bb38 GP-2014: review comments 2022-07-22 19:31:09 +00:00
Alessandro Gatti
01c24684a0 Switch back to pcode implementation. 2022-07-05 23:30:18 +02:00
Alessandro Gatti
b44355f367 Use pcodeops for bitrev and byterev. 2022-06-08 20:36:33 +02:00
ghidorahrex
f1be7a7e4e Modified coldfire TPF instructions to jumps 2022-06-07 13:37:26 +00:00
Alessandro Gatti
4ebeee777f Implement ColdFire's BITREV, BYTEREV and FF1. 2022-05-22 06:33:29 +02:00
Alessandro Gatti
43698e4a3a Correct operands order.
As per discussion on #4189, Tx[bw] and Ty[bw] need to be swapped.
2022-05-04 07:53:47 +02:00
Alessandro Gatti
63e615e793 Implement 68000 PACK and UNPK opcodes. 2022-05-03 04:19:03 +02:00
Alessandro Gatti
1c6b0140bc Update ASL/ASR/LSL/LSR/ROL/ROR/ROXL/ROXR behavior. 2022-05-02 04:12:49 +02:00
Jeff Muizelaar
f736bdc43f m68k: Fix fopmode for fmod
See fc7a6fc602/m68kdasm.c (L1772)
and 2e185fb65e/target/m68k/translate.c (L5255)
2022-04-05 11:28:20 -04:00
ghidra1
a6f7392736 Merge remote-tracking branch
'origin/GP-1644_ghidorahrex_m68000_addx_fix--SQUASHED' (Closes #3818)
2022-01-10 21:07:33 -05:00
ghidorahrex
51d84f8bc0 GP-1644: fixed semantics of 68000 addx flags 2022-01-07 12:54:24 -05:00
Alessandro Gatti
b6942c875c Implement CHK, CHK2, and CMP2 for 68k. 2021-11-09 22:25:23 +01:00
Ryan Kurtz
3a0ae8ee39 GP-849: Gradle 7 support 2021-05-12 13:45:16 -04:00
ghidra1
d377d90e14 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/GraphServices/certification.manifest
2021-03-17 19:38:50 -04:00
ghidra1
162f203395 Updated certification headers 2021-03-17 18:22:50 -04:00
ghidra1
399dd9484f Merge remote-tracking branch
'origin/GP-758_ghidorahrex_PR-2651_miek_68000_byte_SP' (Closes #1709,
Closes #2651)
2021-03-10 12:58:12 -05:00
Mike Walters
4904a0e7b5 68000: fix disassembly of fmove with dynamic k-factor 2021-02-13 02:20:52 +00:00
Mike Walters
ad1c5d7819 68000: fix SP postincrement/predecrement with byte operands
When the address register is the stack pointer and the operand size is
byte, the address is incremented/decremented by two to keep the stack
pointer aligned to a word boundary.
[M68000 Family Programmer’s Reference Manual; 2.2.4 & 2.2.5]

fixes #1709
2021-01-15 19:24:45 +00:00
ghidra1
5890b88f56 Certification update 2020-12-30 09:44:29 -05:00
ghidra1
1c70e034b3 Merge branch 'GP-556_ghidra1_PR-1610_bstreiff_DWARF_m68k_SVR4' 2020-12-30 09:39:24 -05:00
Brandon Streiff
5d57628b7f 68000: add m68k/SVR4 DWARF register mappings 2020-03-08 11:18:12 -05:00
Christian Zietz
a25e48399e 68000: Rework fix for MOVE USP,x and MOVE x,USP 2020-03-04 16:51:19 +00:00
Christian Zietz
1cb3128623 Fix MOVE USP,x and MOVE x,USP opcodes 2020-03-03 20:11:08 +00:00
Benjamin Levy
74fae2f644 Merge branch 'master' of
https://github.com/NationalSecurityAgency/ghidra into spell
2020-01-29 11:37:23 -05:00
ghidorahrex
4c81e6837f Merge remote-tracking branch 'origin/GT-3429_ghidorahrex_m68000_move_overwrite' 2020-01-27 07:17:15 -05:00
Benjamin Levy
a5efecea84 Fix spelling errors 2020-01-26 22:39:18 -05:00
ghidorahrex
c5f2fa286c GT-3429: Corrected issue with m68000 move instruction overwriting
variables.
2019-12-30 10:09:03 -05:00
Vladimir Kononovich
876ee2881e
Fixed M68000 ROXR and ROXL 2019-12-07 21:12:33 +03:00
ghidorahrex
42abc96b89 GT-3137: 68000 corrected shift CF/XF flags for zero-shift operations. 2019-09-16 10:20:21 -04:00
ghidorahrex
72e0d8d879 GT-3137: corrected updating xf in lsl and lsr instructions. 2019-09-09 13:06:15 -04:00
ghidorahrex
59aa00dfb7 Corrected issue with coldfire mov3q immediate -1 representation 2019-08-13 08:06:16 -04:00
emteere
2221510f90 emteere Minor changes for sleigh editor syntax errors 2019-08-02 12:04:47 -04:00
Philip Pemberton
a8f27f6484 TRAPV/TRAPcc don't use the TRAP7 vector, they use the TRAPV vector 2019-07-18 08:54:54 -04:00
Philip Pemberton
919762c1cc Prefix trap(), make parameter the trap number
* Add "__m68k_" prefix to `trap()` to indicate that it's a CPU
    intrinsic
  * `__m68k_trap()` now takes the trap number as a parameter, which
    lines up better with established 68k norms (`TRAP #n` is the
    assembly syntax)
2019-07-18 08:54:28 -04:00
Philip Pemberton
f127c3c0fc M68000: set alignment, full SR decode, TRAPV as address
* Specify instruction alignment to be 2 bytes
  * Fully decode the status register (add trace and supervisor flags and interrupt priority)
  * Decode TRAPs into the vector addresses to make code easier to follow
2019-07-18 08:54:09 -04:00
emteere
a842f89e6e GT-2907_emteere Fixed correct setting of CF for lsl.b, lsl.w, asl.b,
asl.w
2019-07-18 08:29:29 -04:00
ghidra1
dd15435371 Added P-Code Test framework to facilitate semantic verification through
emulation
2019-06-25 09:37:15 -04:00
ghidravore
f1e50fb079 Major refactoring of the gradle build system. 2019-04-23 15:20:26 -04:00
emteere
0859edf517 GT_2807_emteere Semantics for BCD arithmetic instructions in 68K 2019-04-17 12:19:07 -04: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