ds='Compare; if F==W then...'; als_fa cpfseq cmp_fw _ifne
ds='Compare; if F<=W then...'; als_fa cpfsgt cmp_fw _ifle
ds='Compare; if F>=W then...'; als_fa cpfslt cmp_fw _ifge
-ds='Decrement'; als_fda_1fw dec dec_
+ds='Decrement'; als_fda_1fw decf dec_
ds='Decrement; if !=0 then...'; als_fda_1fw decfsz dec_ _ifnz
ds='Decrement; if =0 then...'; als_fda_1fw dcfsnz dec_ _ifz
-ds='Increment'; als_fda_1fw inc inc_
+ds='Increment'; als_fda_1fw incf inc_
ds='Increment; if !=0 then...'; als_fda_1fw incfsz inc_ _ifnz
ds='Increment; if =0 then...'; als_fda_1fw infsnz inc_ _ifz
ds='Move'; als_fa movf mov_fw '' ,0
ds='Move F to same F'; als_fa movf mov_fsf '' ,1
ds='Move (flags unchanged)'; alias_f movff mov_ff f,g f,g
+ds='Test'; alias_f movf tst_w $w,0,0 '' w
ds='Negate'; als_fda_1fw negf neg_
ds='Rotate left (through carry)'; als_fda_1fw rlcf rlc_
ds='Rotate left'; als_fda_1fw rlncf rl_
# `bit-oriented file register operations' (DS280)
ds='Bit Clear'; als_fa_1fw bcf bc_ '' ,b ,b
ds='Bit Set'; als_fa_1fw bsf bs_ '' ,b ,b
+ds='Bit Toggle'; als_fa_1fw btg btg_ '' ,b ,b
ds='Bit Test; if 1 then...'; als_fa_1fw btfsc bt_ _if1 ,b ,b
ds='Bit Test; if 0 then...'; als_fa_1fw btfss bt_ _if0 ,b ,b
exit 0
#--by-opcode--
PIC18F458 INSTRUCTIONS AND PROVIDED OPCODE ALIASES sorted by OPCODE/ALIAS
+
Our opcode Args Notes Description Official
------------- ------ ----- --------------------------------------- -------
#--0--
#--by-desc--
PIC18F458 INSTRUCTIONS AND PROVIDED OPCODE ALIASES sorted by DESCRIPTION
+
Our opcode Args Notes Description Official
------------- ------ ----- --------------------------------------- -------
#--0--
#--by-official--
PIC18F458 INSTRUCTIONS AND PROVIDED OPCODE ALIASES sorted by OFFICIAL INSN
+
Our opcode Args Notes Description Official
------------- ------ ----- --------------------------------------- -------
#--0--
u Official opcode, not an alias/macro. Listed for completeness.y
w Macro (alias) using WREG (the mapping of W in the Access Bank).
digits Gives number of bits of address or offset.
- Z N C F Flags affected. F: all the status flags C DC Z OV N affected.
+ Z N C F Flags affected (out of C DC Z OV N). F: all of those affected.
$Id$
#--0--