Sep 29, 2021
09:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 29, 2021
09:38 AM
Hey all,
Wondering if someone can shed some light on a problem I am having with the tricore compiler.
Disassembling a snippet of code in my binary file shows this described by IDA:
ld32.h d15, [a1]-0x4676
However, when I try to execute the exact same code in assembly language through the compiler it gives me an opcode/operand mismatch error:
__asm("ld.h %d15, [%a1]-0x4676");
ERROR:
error: Opcode/operand mismatch: ld.h %d15,[%a1]-0x4676
I have tried writing the ld.h instruction as ld32.h already and the compiler simply doesn't understand this.
Is there something trivial I am missing?
Thanks in advance,
C!
Wondering if someone can shed some light on a problem I am having with the tricore compiler.
Disassembling a snippet of code in my binary file shows this described by IDA:
ld32.h d15, [a1]-0x4676
However, when I try to execute the exact same code in assembly language through the compiler it gives me an opcode/operand mismatch error:
__asm("ld.h %d15, [%a1]-0x4676");
ERROR:
error: Opcode/operand mismatch: ld.h %d15,[%a1]-0x4676
I have tried writing the ld.h instruction as ld32.h already and the compiler simply doesn't understand this.
Is there something trivial I am missing?
Thanks in advance,
C!
- Tags:
- IFX
0 Replies