PIC14000
The ALU is capable of addition, subtraction, shift, and
logical operations. Unless otherwise mentioned,
arithmetic operations are two's complement. In
two-operand instructions, typically one operand is the
working register (W register). The other operand is a
file register or an immediate constant. In single
operand instructions, the operand is either the
W register or a file register.
3.0
ARCHITECTURAL OVERVIEW
The PIC14000 addresses 4K x 14 program memory.All
program memory is internal. The PIC14000 can directly
or indirectly address its register files or data memory.All
special function registers including the program counter
are mapped in the data memory. The PIC14000 has an
orthogonal instruction set that makes it possible to
carry out any operation on any register using any
addressing mode. This symmetrical nature and lack of
‘special optimal situations’ make programming with the
PIC14000 simple yet efficient. In addition, the learning
curve is reduced significantly.
Depending on the instruction executed, the ALU may
affect the values of the Carry (C), Digit Carry (DC), and
Zero (Z) bits in the STATUS register. The C and DC bits
operate as a borrow bit and a digit borrow out bit,
respectively, in subtraction. See the SUBLWand SUBWF
instructions for examples.
The PIC14000 contains an 8-bit ALU and working
register. The ALU performs arithmetic and Boolean
functions between data in the working register and any
register file.
A simplified block diagram for the PIC14000 is shown
in Figure 3-1, its corresponding pin description is
shown in Table 3-1.
1996 Microchip Technology Inc.
Preliminary
DS40122B-page 7
This document was created with FrameMaker 4 0 4