plasma-disassembler / plasma

Plasma is an interactive disassembler for x86/ARM/MIPS. It can generates indented pseudo-code with colored syntax.
GNU General Public License v3.0
3.05k stars 275 forks source link

decode XOR and handle XOR reg, reg specifically #11

Closed dnet closed 9 years ago

dnet commented 9 years ago

most compilers assign zero to a register by XORing it with itself, like

xor eax, eax

this commit improves readability by parsing such cases as eax = 0

ghost commented 9 years ago

Great, thanks !