You can find descriptions of these special instructions in the documentation
that came with MPLAB. Also, inside MPLAB itself is a pretty decent help
file system. Look under "MPASM Help", "Instruction Sets", "14-bit Core
Instructions", "12-bit/14-bit Special Instructions".
--Andrew
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
> i saw some pic programs with instructions like this skpnc, skpnz ...
> where can i find some infos about this???
These are wrapper macros around instructions like BTFSC STATUS, Z. Some of
these are built into the assembler although not documented well. Others may
be from people's private wrapper macros. I've got a whole bunch of such
wrapper macros and lots of other useful macros at http://www.embedinc.com/pic.
Well, since I see Olin touted his macros ;^), I guess I'll the same. I has a
package of macros, call EIS (for Enhanced Instruction Set), designed to
incorporate many features including automatic bank/page switching and
multiple-byte operands.
At 03:24 PM 1/8/2001 +0200, you wrote:
>hi,
>
>i saw some pic programs with instructions like this skpnc, skpnz ...
>where can i find some infos about this???
>at microchips homepage couldn't find it
>
>thanx,
> Kajcsa Laszlo
>--
Not sure where I got these or if they're all correct.....
Maris
movfw macro f ; Move Contents of File Reg to W
movf f,0
endm
tstf macro f ; Test Contents of File Register
movf f,1 ; (move file to itself to affect zero flag,
endm ; then test zero flag with skpz or skpnz)