Assembler

ISSUE – Destination and RAM access bit specified This used to be requried for asm code when you wanted to tell it the ,d and ,a bits of the instruction: near static unsigned char uc_asm_irq_temp; // near qualifier specifies access RAM near static unsigned char uc_asm_irq_temp1; movlw 0xcb addwf _uc_asm_irq_temp,f,c //(1 = file register, 0 = […]

Read More

XC8 – peripheral library support is missing for the …

"Warning peripheral library support is missing for the 18F45K22" Right click project > properties > Conf: -> XC8 global options -> XC8 linker "Link in Peripheral Library" is causing it if set, but if you are using peripheral library functions you need this.  There seems to be some issue with XC8 no longer shipping with the peripheral […]

Read More