FLOWCODE v5.5.2.1 and RTCC of PIC18F87K22
Posted: Wed May 15, 2013 1:40 pm
Hi,
I'm using a C block to pass asm code
i want to start the RTTC (set RTCCMD from PMD1 register) from the PIC18F87K22
but i obtain the error "error in built-in assembly" when compiling to hex
the two "movwf EECON2" cause the error ???!!!!!!!! why?
I'm teacher and using Flowcode v5.5.2.1 and "EasyPIC Pro 7"
(sorry for my english but i'm a french user)
Thanks in advance
I'm using a C block to pass asm code
i want to start the RTTC (set RTCCMD from PMD1 register) from the PIC18F87K22
Code: Select all
asm
{
movlw 0x55
movwf EECON2
movlw 0xAA
movwf EECON2
}the two "movwf EECON2" cause the error ???!!!!!!!! why?
I'm teacher and using Flowcode v5.5.2.1 and "EasyPIC Pro 7"
(sorry for my english but i'm a french user)
Thanks in advance