PIC16C56A Microchip Technology Inc., PIC16C56A Datasheet - Page 59

no-image

PIC16C56A

Manufacturer Part Number
PIC16C56A
Description
Eprom/rom-based 8-bit Cmos Microcontroller Series
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C56A
Manufacturer:
MICROCHI
Quantity:
100
Part Number:
PIC16C56A-04/P
Manufacturer:
Microchip
Quantity:
2 190
Part Number:
PIC16C56A-04/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C56A-04/P
Manufacturer:
M
Quantity:
20 000
Part Number:
PIC16C56A-04/SO
Manufacturer:
MICROC
Quantity:
650
Part Number:
PIC16C56A-04/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C56A-20/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16C56A/JW
Manufacturer:
Microchip Technology
Quantity:
2
Part Number:
PIC16C56AT-04I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
MOVWF
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
NOP
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
2002 Microchip Technology Inc.
Before Instruction
After Instruction
TEMP_REG =
W
TEMP_REG =
W
Move W to f
[ label ]
0
(W)
Move data from the W register to
register ’f’.
1
1
MOVWF TEMP_REG
No Operation
[ label ]
None
No operation
No operation.
1
1
NOP
0000
0000
f
=
=
31
(f)
0xFF
0x4F
0x4F
0x4F
MOVWF
NOP
001f
0000
ffff
0000
f
Preliminary
RETLW
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
TABLE
OPTION
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example
Before Instruction
After Instruction
Before Instruction
After Instruction
W
OPTION
W
W
Return with Literal in W
[ label ]
0
k
TOS
The W register is loaded with the
eight bit literal ’k’. The program
counter is loaded from the top of
the stack (the return address). This
is a two-cycle instruction.
1
2
CALL TABLE ;W contains
ADDWF PC
RETLW k1
RETLW k2
RETLW kn
Load OPTION Register
[ label ]
None
(W)
The content of the W register is
loaded into the OPTION register.
1
1
OPTION
1000
0000
=
=
=
=
k
(W);
0x07
value of k8
0x07
0x07
255
OPTION
PC
RETLW k
PIC16C5X
kkkk
OPTION
0000
;W now has table
;table offset
;value.
;value.
;W = offset
;Begin table
;
; End of table
DS30453D-page 57
kkkk
0010

Related parts for PIC16C56A