Closed brandonros closed 4 years ago
mtcr is wrong too
80000260 cd 00 e0 0f mtcr #0xfe00,d0
$ rasm2 -a tricore -o 0x80000000 -D 'cd 00 e0 0f '
0x80000000 4 cd00e00f mtcr $pcxi, d0
I've started taking a look at this, but it is not obvious to me that the current output is wrong. Is there a way to pass an option to the disassembler to choose whether it resolves the address to its Special Function Register name?
The disassembler doesnt do that. Its the rparse plugin who changes numbers for names found in flags or function names. Maybe just removing the # will be enough to make it work without any specific tricore parse plugin
On 6 Oct 2019, at 02:08, Stefan notifications@github.com wrote:
I've started taking a look at this, but it is not obvious to me that the current output is wrong. Is there a way to pass an option to the disassembler to choose whether it resolves the address to its Special Function Register name?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
This is done right i am getting the right output in latest master.
From ghidra:
From rasm2: