Commit graph

40 commits

Author SHA1 Message Date
Ryan Kurtz 4f59e90b39 Merge remote-tracking branch 'origin/GP-1426_Dan_asmWoW64--SQUASHED' 2022-03-29 01:27:33 -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
ghidorahrex 7e62b796a9 GP-1165: Corrected minor issue with integer ABS functions using
floating-point abs pcode.
2022-02-17 11:39:27 -05:00
Ryan Kurtz 3a0ae8ee39 GP-849: Gradle 7 support 2021-05-12 13:45:16 -04:00
ghidra1 162f203395 Updated certification headers 2021-03-17 18:22:50 -04:00
emteere 599dc0a1d1 GT-2909_emteere_Xmega made memory access registers non-volatile so
references could be made
2020-08-27 14:00:48 -04:00
emteere 6bbcbf0277 GT-2909_emteere_Xmega minor typo changes 2020-08-25 11:39:34 -04:00
emteere 99e385da6a GT-2909 refactored IO_START implementation, added load/store of real
flags register
2020-08-05 13:47:51 -04:00
ghidra1 81f5776555 GT-2909 AVR8 ELF import and pcode test improvements 2020-07-29 14:29:46 -04:00
emteere 1f8ced9b8d GT-2909_emteere fixing pcodeunit tests from removal of register 2020-07-24 17:47:03 -04:00
emteere 2a8a3d6ba6 GT-2909_emteere_Xmega fixed comment 2020-07-24 17:47:02 -04:00
emteere 0f8bd6b036 GT-2909_emteere_Xmega added xmega processor and missing pcode 2020-07-24 17:47:01 -04:00
ghidorahrex 9e568c9de3 Merge remote-tracking branch 'origin/GT-3276_ghidorahrex_avr8_flag_fixup' 2020-03-18 13:58:04 -04:00
ghidorahrex 4c7c3adf5a GT-3276: Fixed AVR8 addition/subtraction flag macros 2020-03-18 13:54:36 -04:00
ghidorahrex ddc63770b9 Merge remote-tracking branch 'origin/GT-3466_ghidorahrex_fix_export_const' 2020-03-04 14:26:27 -05:00
ghidorahrex 3c8f2bdeff Merge remote-tracking branch 'origin/GT-933_ghidorahrex_correct_atmega256_pspec' 2020-02-13 08:06:45 -05:00
ghidorahrex dcd5296041 GT-933: Code review fixes for atmega SP memory addresses in .pspec 2020-02-07 14:55:16 -05:00
ghidorahrex b06ca0c971 GT-3466: fixed exporting const local vars in avr32 2020-02-07 13:32:34 -05:00
comet af50a7e615 update 2020-01-29 11:26:10 -05: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
ghidorahrex 6ca9eafd1d GT-933: Corrected AVR8 atmega256 memory layout in .pspec 2020-01-17 11:38:46 -05:00
Austin Roach 2dd6b50a38 Fix typo in AVR8.idx 2020-01-14 07:46:05 -05:00
ghidorahrex 2272627787 GT-3311: Merged changes to operand sizing 2019-12-02 12:41:34 -05:00
Austin Roach 3bad6f753f AVR8: Improve operands for load/store instructions
Currently, the operators for post-incremented or offset source operands
associated with various memory access instructions are separators
rather than components of the operand. As a result, inferred references
split the register and the operator when rendered in the listing, making
it easy to overlook the operator. For example:

lpm R0,Z=>DAT_code_000455+

This patch mimics logic already in place for the st and std
instructions, which include the post-increment operator or offset as
part of the operand. For example:

st X+=>DAT_mem_0100,R0
2019-12-02 09:58:39 -05:00
ghidra1 ee25a7d0cc Merge remote-tracking branch 'origin/patch' 2019-11-26 12:37:20 -05:00
Roi Martin 7946ec5f62 AVR8: Fix lpm/elpm implementation in SLEIGH specification
When Z & 0x1 == 1, the dereferenced data must be right-shifted 8 bits
before assigning val:1 to the target register.

When Z & 0x0 == 0, val:1 is assigned to the target register straight
away.

In short, we can reduce these conditions to:

	tmp:2 = *[code]:2 (ptr >> 1);
	val:2 = (tmp >> (8 * (Z & 0x1)));
	R0 = val:1;

NOTE: Author's original commit was modified to address conflicts and a necessary rebase. -ryanmkurtz
2019-11-25 09:59:51 -05:00
ghidra1 1b1240a41b GT-3328 corrected sleighArgs.txt use with module dependency paths 2019-11-19 15:11:30 -05:00
Ryan Kurtz fa48768e77 GT-3106: Fixing avr8.opinion XML parse error 2019-11-05 12:27:40 -05:00
Ryan Kurtz 0a56eae9f6 Merge remote-tracking branch 'origin/GT-3106_ghidorahrex_AVR8_pcodetests' 2019-11-01 10:03:33 -04:00
ghidorahrex a3bf5f4b1c GT-3106: Corrected AVR8 variant naming mismatch. 2019-10-10 09:06:14 -04:00
ghidorahrex c1fef06736 GT-712: Corrected AVR32 manual index file entries 2019-09-10 14:16:02 -04:00
ghidorahrex 947b7635ce GT-3106: Implement AVR 8 pcodetests
Updated AVR 8 to implement pcode tests and correct any issues found as a
result.
2019-09-04 09:37:23 -04:00
ghidra1 12af9291c9 GT-2845 - updated ELF Loader to utilize FileBytes and eliminated its use
of MemoryBlockUtil

Conflicts:
	Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/ElfLoader.java
2019-07-16 12:34:19 -04:00
ghidra1 dd15435371 Added P-Code Test framework to facilitate semantic verification through
emulation
2019-06-25 09:37:15 -04:00
Ryan Kurtz 08dbf35254 Merge remote-tracking branch 'origin/GT-2828_GhidorahRex_PR-346_ahroach_AVR8_add_ISA_manual_index_file' 2019-06-04 12:52:38 -04:00
GhidorahRex da4b11981d GT-2828: Accepting pull request
Pulled-from: Austin Roach <ahroach@gmail.com>
2019-06-04 12:49:44 -04:00
ghidravore f1e50fb079 Major refactoring of the gradle build system. 2019-04-23 15:20:26 -04:00
Austin Roach 1aed26b4d3 AVR8: Add ISA manual index file 2019-04-04 20:32:23 -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