I saw a small error in the listfile when in the mP code a bitconstant (e.g. IOLOCK_bit) is used:
Code: Select all
;Uart_Test.mpas,15 :: OSCCON.6 := 1;
0x04A0 0xA8C742 BSET OSCCON, #6 <----- correct asm mnemonics
;Uart_Test.mpas,17 :: IOLOCK_bit := 1;
0x04A2 0xA8C742 BSET IOLOCK_bit, #6 <----- incorrect asm mnemonics
Perhaps this phenomenon is there in other compilers too?
Thanks in advance.