mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Infineon Tricore: simplify st.t instruction
This commit is contained in:
parent
7d89da07cd
commit
624d0f94d7
1 changed files with 4 additions and 2 deletions
|
@ -7972,8 +7972,10 @@ macro multiply_u_u(mres0, rega, regb, n) {
|
|||
# ST.T off18, bpos3, b (ABSB)
|
||||
:st.t off18,const0810Z,const1111Z is PCPMode=0 & ( const0810Z & const1111Z & op0007=0xd5 ; op2627=0x0 ) & off18
|
||||
{
|
||||
local tmp:4 = *[ram]:1 off18;
|
||||
tmp = (tmp & ~(1 << const0810Z)) | (const1111Z << const0810Z);
|
||||
local tmp:1 = *[ram]:1 off18;
|
||||
ternary(tmp, const1111Z,
|
||||
tmp | (1 << const0810Z),
|
||||
tmp & ~(1 << const0810Z));
|
||||
*[ram]:1 off18 = tmp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue