Key to PICmicro Family Instruction Sets

MPASM Assembler

Key to PICmicro Family Instruction Sets

Field
Description
Register Files
dest
Destination either the WREG register or the specified register file location. See d.
f
Register file address (5-bit, 7-bit or 8-bit).
p
Peripheral register file address (5-bit).
r
Port for TRIS.
x
Don't care (`0' or `1').
The assembler will generate code with x = 0. It is the recommended form of use for compatibility with all Microchip software tools.
Literals
k
Literal field, constant data or label.
k 4-bit.
kk 8-bit.
kkk 12-bit.
Bits
b
Bit address within an 8-bit file register (0 to 7).
d
Destination select bit.
d = 0: store result in WREG
d = 1: store result in file register f (default)
i
Table pointer control.
i = 0: do not change.
i = 1: increment after instruciton execution.
s
Destination select bit.
s = 0: store result in file register f and WREG
s = 1: store result in file register f (default)
t
Table byte select.
t = 0: perform operation on lower byte.
t = 1: perform operation on upper byte.
' '
Bit values, as opposed to Hex value.
Named Registers
BSR
Bank Select Register. Used to select the current RAM bank.
OPTION
OPTION Register.
PCL
Program Counter Low Byte.
PCH
Program Counter High Byte.
PCLATH
Program Counter High Byte Latch.
PCLATU
Program Counter Upper Byte Latch.
PRODH
Product of Multiply High Byte.
PRODL
Product of Multiply Low Byte.
TBLATH
Table Latch (TBLAT) High Byte.
TBLATL
Table Latch (TBLAT) Low Byte.
TBLPTR
16-bit Table Pointer (TBLPTRH:TBLPTRL). Points to a Program Memory location.
WREG
Working register (accumulator).
Named Bits
C, DC, Z, OV, N
ALU Status bits: Carry, Digit Carry, Zero, Overflow, Negative.
TO
Time-out bit.
PD
Power-down bit.
GIE
Global Interrupt Enable bit(s).
Named Device Features
PC
Program Counter.
TOS
Top-of-Stack.
WDT
Watchdog Timer.
Misc. Descriptors
( )
Contents.
→, ↔
Assigned to.
< >
Register bit field.


Microchip Technology Inc.
Microchip's Web Site
Voice: (480) 792-7200
Fax: (480) 899-9210
Microchip's E-mail Address
PreviousNext