Key to Extended 16-Bit Core Instruction Set

MPASM Assembler

Key to Extended 16-Bit Core Instruction Set

Field
Description
Register Files
dest
Destination either the WREG register or the specified register file location. See d.
f
Register file address.
f 8-bit (0x00 to 0xFF).
f' 12-bit (0x000 to 0xFFF). This is the source address.
f" 12-bit (0x000 to 0xFFF). This is the destination address.
r
0, 1 or 2 for FSR number.
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.
Offsets, Increments/Decrements
n
The relative address (2's complement number) for relative branch instructions, or the direct address for Call/Branch and Return instructions.
*
*+
*-
+*
The mode of the TBLPTR register for the table read and table write instructions.
Only used with table read (TBLRD) and table write (TBLWT) instructions:
No Change to register
Post-Increment register
Post-Decrement register
Pre-Increment register
Bits
a
RAM access bit
a = 0: RAM location in Access RAM (BSR register is ignored)
a = 1: RAM bank is specified by BSR register (default)
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)
s
Fast Call/Return mode select bit
s = 0: do not update into/from shadow registers (default)
s = 1: certain registers loaded into/from shadow registers (Fast mode)
' '
Bit values, as opposed to Hex value.
Named Registers
BSR
Bank Select Register. Used to select the current RAM bank.
FSR
File Select 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.
STATUS
Status Register
TABLAT
8-bit Table Latch.
TBLPTR
21-bit Table Pointer (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.
PEIE
Peripheral Interrupt Enable bit.
GIE, GIEL/H
Global Interrupt Enable bit(s).
Named Device Features
MCLR
Master clear device reset.
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