Douglas Wood wrote: > > Roman, > > I have been programming so long in EPICIS that I had forgotten all about the > built-in Bn macros. EPICIS has Bn instructions for ALL cores. The EPICIS > "skip" instructions are intelligent enough to skip over ANY sized sequence > of instructions; they have to be since most EPICIS instructions generate > multiple "native" PIC instruction sequences. Kind of an "assembler compiler" > if you will. > > However, on the topic of the "special instructions", I think it's VERY > important that newbie PIC programmers understand fully the different between > "real" PIC instructions and "instructions" implemented as #defines or macros > for some of the vey reasons you gave. I think it's fairly dangerous to think > of those instructions as real; understanding where they came from and why > they work the way they to will [hopefully] prevent a lot of headaches down > the road... Absolutely right Douglas. The special mnemonics are there for a reason, to be used in circumstances where they can make things easier. And it is vital that someone new to PIC understands BTFSC STATUS,Z completely, before using anything easier. :o) Custom mnemonics interest me, as a way of improving the readability of the RISC instruction set and making coding faster and more reliable. As experienced programmers we all seem to develop tools to make life easier, so the little guys like us are part of the cutting-edge evolution of Microchip's product. Speaking of that evolution, how's Epicis going? I keep checking out your page at piclist.com but there is never any news. From the time I first heard about your project it caught my interest. :o) -Roman -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu