Technical information
Operating Precautions for CPDW9X/NT-CDR-V85X, Y-GHS-MULTI-V800
TM
Customer Notification r20tu0003ed1812 48
No. a33
The use of the bit instruction NOT1 is not systematic in XOR operation
Generated assembly code:
void main(void)
{
P5 ^= 0x08;
0x1094 main: 8e20f40a movea 0xfffff40a, zero, r17
0x1098 main+0x4: 5fd10000 not1 3, 0[r17]
P53 ^= 1;
0x109c main+0x8: 8700f40a ld.b -3062[zero], r16
0x10a0 main+0xc: 86b00008 xori 0x8, r16, r16
0x10a4 main+0x10: 8740f40a st.b r16, -3062[zero]
0x10a8 main+0x14: 7f00f40a ld.b -3062[zero], r15
}
0x10ac main+0x18: 007f jmp [lp]
Workaround
The user should not use a 1-bit variable.










