I also see it in reverse mov a, (SFR_DATA_U32), E5 FF. FF location should A4 4359: 029675 E5 A7 [12] 4359 mov a,((_SFR_DATA_U32 >> 0) & 0xFF) 4361: 029678 E5 A6 [12] 4361 mov a,((_SFR_DATA_U32 >> 8) & 0xFF) 4364: 02967C E5 A5 [12] 4364 mov a,((_SFR_DATA_U32 >> 16) & 0xFF) 4367: 029680 E5 FF [12] 4367 mov a,((_SFR_DATA_U32 >> 24) & 0xFF) and in the lst-file it get this notation 106 ;-------------------------------------------------------- 107 107 ; special function registers 108 108 ;--------------------------------------------------------...
I see that the main.c has changed A4 into A3 but still the same issue. It keeps generating F5 FF.
sfr32 MSB instruction address is wrong
Two inline assembly issues.