Commit graph

14 commits

Author SHA1 Message Date
Cameron Taylor c8322ba9e7
V850: Fixed multiply by immediate
Multiply by immediate (mul imm9, reg2, reg3) used a signed token for the lower 5 bits of the immediate value imm9.
This resulted in any immediate value in which the 5th bit was set to be calculated incorrectly.

imm9 = 0x18 ( 0b000011000 )
OLD:    f8 0f 40 52        mul    -0x8, r1, r10
NEW:   f8 0f 40 52        mul    0x18, r1, r10

imm9 = -0xF0 ( 0b100010000 )
OLD:    f0 0f 60 52        mul    -0x10, r1, r10
NEW:   f0 0f 60 52        mul    -0xf0, r1, r10
2021-04-22 20:50:11 -04:00
ghidra1 162f203395 Updated certification headers 2021-03-17 18:22:50 -04:00
emteere 6bce112db6 GP-548 fixed v850 JUMP register relative instruction 2020-12-29 09:08:07 -05:00
emteere 7bd149cb84 GP-0_emteere minor change to make SP unaffected on V850 2020-11-12 20:22:24 -05:00
ghidra1 8ac353572b Corrected sleigh compile failure for V850 2020-07-01 10:26:51 -04:00
ghidra1 b8dde7b4c8 Corrected sleigh compile issues for V850 2020-06-30 13:43:05 -04:00
emteere 2a30ec7112 GT-3523_emteere_PR-1430_Alackaj_master fixing patterns file and review
for merge into master
2020-06-26 14:54:05 -04:00
Aleckaj cfc4c8c92c Added .opinion File by @HexRoman for the analyzeHeadless 2020-04-12 20:32:40 +02:00
Aleckaj d37ef2a0c2 Added small changes from @esaulenka 2020-03-02 10:54:13 +01:00
mumbel ab6112c56e initial V850 patterns 2020-03-01 15:13:11 -06:00
Aleckaj f317ada6a8 Macros and cspec fixes 2020-02-24 20:28:58 +01:00
Aleckaj 798c94f36a Minor changes with help of @GhidorahRex 2020-02-21 09:33:12 +01:00
Aleckaj ddbbafaf5c adjusted .cspec-File 2020-02-19 09:43:42 +01:00
Aleckaj 8f3cf0d2dc Improved code with the help of @GhidorahRex 2020-02-17 16:30:15 +01:00