Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

DSRnathan
Level 3
Level 3
10 replies posted 5 replies posted 10 questions asked
hello developers,
i am trying to understand the assembly syntax used in Tricore TC277 development.
I came across this syntax and trying to understand it.

vptr = TriCore_int_table;
__asm volatile ("mtcr $biv,%0" : : "d" (vptr));

in the syntax i can understand they are setting the BIV register. i am trying to understand exactly the syntax itsel- How they do it.

please also can any one suggest me , if there is any document for Tricore which contains all the assembly syntax s.

Kindly help me in this regard.

thank you very much.
0 Likes
1 Reply
cwunder
Employee
Employee
25 likes received 25 solutions authored 100 sign-ins
Yes, refer to tool vendor's documentation (user guide) for the toolchain that you are using (i.e. Using Assembly in the C Source: __asm() ). If you want to write your own assembly routine (.s file) then you can look to the Infineon core architecture manual - Instruction set. You still need to adapt the syntax to match the toolchain being used.
0 Likes