The literal and control category contains the most varied instruction word format.
Table 1 lists the instructions recognized by the XC8 assembler.
CALL
,
CALLW
)RETURN
,
RETLW
, RETFIE
)GOTO
, BRA
,
BRW
, BTFSS
, BTFSC
,
DECFSZ
, INCSFZ
)One instruction cycle consists of four oscillator cycles; for an oscillator frequency of 4 MHz, this gives a nominal instruction execution rate of 1 MHz.
All instruction examples use the format ‘0xhh
’ to represent a hexadecimal
number, where ‘h
’ signifies a hexadecimal digit.