TARGETS= config.hex $(INSN_TARGETS)
-INSN_TARGETS= insn-aliases.inc insn-1.ps insn-2.ps
+INSN_TARGETS= insn-aliases.inc \
+ insn-1.txt insn-2.txt \
+ insn-1.ps insn-2.ps
PROGRAMS= flasher copybits serialloop
./$< --macros $o
insn-%.txt: insn-aliases.inc-gen Makefile
- sed -e '1,/^#--1--/d; /^#--2--/,$$d' <$< >$@.1.tmp
+ sed -e '1,/^#--$*--/d; /^#--0--/,$$d' <$< >$@.1.tmp
./$< --descs >$@.2.tmp
sort -t % -k 1.$(subst 2,28,$*) <$@.2.tmp >>$@.1.tmp
- sed -e '1,/^#--2--/d; /^#--3--/,$$d' <$< >>$@.1.tmp
+ sed -e '1,/^#--3--/d; /^#--0--/,$$d' <$< >>$@.1.tmp
mv -f $@.1.tmp $@
insn-%.ps: insn-%.txt
exit 0
#--1--
+PIC18F458 INSTRUCTIONS AND PROVIDED OPCODE ALIASES sorted by OPCODE/ALIAS
+
Our opcode Args Notes Description Official
------------- ------ ---- --------------------------------------- -------
+#--0--
#--2--
+PIC18F458 INSTRUCTIONS AND PROVIDED OPCODE ALIASES sorted by DESCRIPTION
+
+Our opcode Args Notes Description Official
+ ------------- ------ ---- --------------------------------------- -------
+#--0--
+#--3--
------------- ------ ---- --------------------------------------- -------
Notes: R Branch uses relative offset.
A Uses BSR for F iff F address is not in Access Bank. There are
also <op>_<how>a (always uses access bank) and <op>_<how>b
(always uses BSR). (<op>_<how>[ab]_if<what> for conditionals.)
digits Gives number of bits of address or offset.
-#--3--
+#--0--