adimetrius / Herschel

Ground work for Component Pascal 64-bit compiler
BSD 2-Clause "Simplified" License
21 stars 1 forks source link

HrDecoder: invalid R/M offset decoding #11

Open X547 opened 3 years ago

X547 commented 3 years ago

This is https://github.com/adimetrius/Herschel/commit/e0301dc20bbe201b0e6476709fafeb45e0d6de0b.

HrDecoder output:

0001414D    48|8D 48 10     lea  RCX, 82273[RAX]

Correct output:

.text:000000000001414D                 lea     rcx, [rax+10h]
X547 commented 3 years ago

This feature is correctly implemented in my WorkDecX86.