Search found 1 match

by Ilya K
28 Nov 2023 13:35
Forum: PIC32 AI Compilers
Topic: PIC32 AI compiler S-reg swap bug on PIC32MZ
Replies: 0
Views: 820

PIC32 AI compiler S-reg swap bug on PIC32MZ

The PIC32 AI compiler v3.0.0 (2022) generates the following code for PIC32MZ and then uses the registers S2 and S3 as if they were swapped, but the value in S2 is actually lost. ;Address Opcode ASM 0x9D0380AC 0x46001886 MOV.S S2, S3 0x9D0380B0 0x460010C6 MOV.S S3, S2 If the option -SSA is omitted, t...

Go to advanced search