Delay1 var word
Temp1 var word

ASM
movfw _Delay1
movwf _Tem p1
decfsz _Temp1,1
goto $-1
Endasm
IT'S a 8 bit cpu how can a 16 bit value fit in a 8 bit register ?



Code:
Delay1 var byte  
Temp1  var byte 


asm
       MOVE?BB   _Delay1, _Temp1
DLN    decfsz _Temp1,1
       goto   DLN
endasm