Dans le lien donné, chercher éventuellement PIC18F44K22.
Je mets le nez dans ce que je crois être un "extended mid-range"
et j'y vois la description de l'instruction ADDWF
ADDWF ADD W to f
Syntax: ADDWF f {,d {,a}}
Operands: 0 f 255
d [0,1]
a [0,1]
Operation: (W) + (f) dest
Status Affected: N, OV, C, DC, Z
Encoding: 0010 01da ffff ffff
Description: Add W to register ‘f’. If ‘d’ is ‘0’, the
result is stored in W. If ‘d’ is ‘1’, the
result is stored back in register ‘f’
(default).
If ‘a’ is ‘0’, the Access Bank is selected.
If ‘a’ is ‘1’, the BSR is used to select the
GPR bank.
If ‘a’ is ‘0’ and the extended instruction
set is enabled, this instruction operates
in Indexed Literal Offset Addressing
mode whenever f 95 (5Fh). See
Section 25.2.3 “Byte-Oriented and
Bit-Oriented Instructions in Indexed
Literal Offset Mode” for details
le a étant entre accolades, il est optionnel.
La doc dit bien comment est géré l'adressage si a = 0 ou 1 mais pas s'il est absent. Peut-être est-ce dit par ailleurs mais je n'ai pas trouvé
Qui sait ?
merci

