Hasher
Junior Member level 1
movlb
I'm using mikroC 8.2 with PIC18F2420.
I got this error message : "0xFD6: argument not found" when I try to build a project that has this piece of code
NOTE: in Hi-Tech PICC-18 I have no errors in building
NOTE: 0xFD6 is the address location of TMR0L
I'm using mikroC 8.2 with PIC18F2420.
I got this error message : "0xFD6: argument not found" when I try to build a project that has this piece of code
NOTE: in Hi-Tech PICC-18 I have no errors in building
NOTE: 0xFD6 is the address location of TMR0L
Code:
void delay()
{
asm {
ST1:
MOVLW 0x24
MOVLB 0x0F
SUBWF 0xFD6 , w
BNC ST1 }
}