Microchip PIC16F874A Manual


Læs gratis den danske manual til Microchip PIC16F874A (48 sider) i kategorien Ikke kategoriseret. Denne vejledning er vurderet som hjælpsom af 20 personer og har en gennemsnitlig bedømmelse på 4.4 stjerner ud af 10.5 anmeldelser. Har du et spørgsmål om Microchip PIC16F874A, eller vil du spørge andre brugere om produktet?

Side 1/48
1997 Microchip Technology Inc. DS31029A page 29-1
M
Instruction
Set
29
Section 29. Instruction Set
HIGHLIGHTS
This section of the manual contains the following major topics:
29.1 Introduction ..................................................................................................................29-2
29.2 Instruction Formats ......................................................................................................29-4
29.3 Special Function Registers as Source/Destination ......................................................29-6
29.4 Q Cycle Activity............................................................................................................29-7
29.5 Instruction Descriptions................................................................................................29-8
29.6 Design Tips ................................................................................................................29-45
29.7 Related Application Notes..........................................................................................29-47
29.8 Revision History .........................................................................................................29-48
PICmicro MID-RANGE MCU FAMILY
DS31029A-page 29-2 1997 Microchip Technology Inc.
29.1 Introduction
Each midrange instruction is a 14-bit word divided into an OPCODE which specifies the instruc-
tion type and one or more operands which further specify the operation of the instruction. The
midrange Instruction Set Summary in Table 29-1 lists the instructions recognized by the MPASM
assembler. The instruction set is highly orthogonal and is grouped into three basic categories:
Byte-oriented operations
Bit-oriented operations
Literal and control operations
Table 29-2 gives the opcode field descriptions.
For byte-oriented instructions, 'f' represents a file register designator and 'd' represents a des-
tination designator. The le register designator specifies which file register is to be used by the
instruction.
The destination designator specifies where the result of the operation is to be placed. If 'd' is zero,
the result is placed in the W register. If 'd' is one, the result is placed in the file register specified
in the instruction.
For bit-oriented instructions, 'b' represents a bit field designator which selects the number of the
bit aected by the operation, while 'f' represents the number of the file in which the bit is located.
For literal and control operations, 'k' represents an eight or eleven bit constant or literal value.
All instructions are executed in one single instruction cycle, unless a conditional test is true or the
program counter is changed as a result of an instruction. In these cases, the execution takes two
instruction cycles with the second cycle executed as an NOP. One instruction cycle consists of
four oscillator periods. Thus, for an oscillator frequency of 4 MHz, the normal instruction execu-
tion time is 1 µs. If a conditional test is true or the program counter is changed as a result of an
instruction, the instruction execution time is 2
µs.


Produkt Specifikationer

Mærke: Microchip
Kategori: Ikke kategoriseret
Model: PIC16F874A

Har du brug for hjælp?

Hvis du har brug for hjælp til Microchip PIC16F874A stil et spørgsmål nedenfor, og andre brugere vil svare dig




Ikke kategoriseret Microchip Manualer

Ikke kategoriseret Manualer

Nyeste Ikke kategoriseret Manualer