DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16C558T-IL View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16C558T-IL
Microchip
Microchip Technology 
PIC16C558T-IL Datasheet PDF : 108 Pages
First Prev 51 52 53 54 55 56 57 58 59 60 Next Last
PIC16C55X
TABLE 8-2: PIC16C55X INSTRUCTION SET
Mnemonic,
Operands
Description
14-Bit Opcode
Cycles
MSb
LSb
Status
Affected
Notes
BYTE-ORIENTED FILE REGISTER OPERATIONS
ADDWF f, d
ANDWF f, d
CLRF
f
CLRW -
COMF f, d
DECF
f, d
DECFSZ f, d
INCF
f, d
INCFSZ f, d
IORWF f, d
MOVF f, d
MOVWF f
NOP
-
RLF
f, d
RRF
f, d
SUBWF f, d
SWAPF f, d
XORWF f, d
Add W and f
AND W with f
Clear f
Clear W
Complement f
Decrement f
Decrement f, Skip if 0
Increment f
Increment f, Skip if 0
Inclusive OR W with f
Move f
Move W to f
No Operation
Rotate Left f through Carry
Rotate Right f through Carry
Subtract W from f
Swap nibbles in f
Exclusive OR W with f
1
00 0111 dfff ffff C,DC,Z 1,2
1
00 0101 dfff ffff
Z
1,2
1
00 0001 lfff ffff
Z
2
1
00 0001 0000 0011
Z
1
00 1001 dfff ffff
Z
1,2
1
00 0011 dfff ffff
Z
1,2
1(2) 00 1011 dfff ffff
1,2,3
1
00 1010 dfff ffff
Z
1,2
1(2) 00 1111 dfff ffff
1,2,3
1
00 0100 dfff ffff
Z
1,2
1
00 1000 dfff ffff
Z
1,2
1
00 0000 lfff ffff
1
00 0000 0xx0 0000
1
00 1101 dfff ffff
C
1,2
1
00 1100 dfff ffff
C
1,2
1
00 0010 dfff ffff C,DC,Z 1,2
1
00 1110 dfff ffff
1,2
1
00 0110 dfff ffff
Z
1,2
BIT-ORIENTED FILE REGISTER OPERATIONS
BCF
f, b
BSF
f, b
BTFSC f, b
BTFSS f, b
Bit Clear f
Bit Set f
Bit Test f, Skip if Clear
Bit Test f, Skip if Set
1
01 00bb bfff ffff
1,2
1
01 01bb bfff ffff
1,2
1(2) 01 10bb bfff ffff
3
1(2) 01 11bb bfff ffff
3
LITERAL AND CONTROL OPERATIONS
ADDLW k
ANDLW k
CALL
k
CLRWDT -
GOTO k
IORLW k
MOVLW k
RETFIE -
RETLW k
RETURN -
SLEEP -
SUBLW k
XORLW k
Add literal and W
AND literal with W
Call subroutine
Clear Watchdog Timer
Go to address
Inclusive OR literal with W
Move literal to W
Return from interrupt
Return with literal in W
Return from Subroutine
Go into Standby mode
Subtract W from literal
Exclusive OR literal with W
1
11 111x kkkk kkkk C,DC,Z
1
11 1001 kkkk kkkk
Z
2
10 0kkk kkkk kkkk
1
00 0000 0110 0100 TO,PD
2
10 1kkk kkkk kkkk
1
11 1000 kkkk kkkk
Z
1
11 00xx kkkk kkkk
2
00 0000 0000 1001
2
11 01xx kkkk kkkk
2
00 0000 0000 1000
1
00 0000 0110 0011 TO,PD
1
11 110x kkkk kkkk C,DC,Z
1
11 1010 kkkk kkkk
Z
Note 1: When an I/O register is modified as a function of itself ( e.g., MOVF PORTB, 1), the value used will be that value present
on the pins themselves. For example, if the data latch is '1' for a pin configured as input and is driven low by an external
device, the data will be written back with a '0'.
2: If this instruction is executed on the TMR0 register (and, where applicable, d = 1), the prescaler will be cleared if
assigned to the Timer0 Module.
3: If Program Counter (PC) is modified or a conditional test is true, the instruction requires two cycles. The second cycle is
executed as a NOP.
DS40143E-page 54
Preliminary
1996-2013 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]