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