PIC16F628A-E/SS Microchip Technology, PIC16F628A-E/SS Datasheet - Page 130

IC MCU FLASH 2KX14 EEPROM 20SSOP

PIC16F628A-E/SS

Manufacturer Part Number
PIC16F628A-E/SS
Description
IC MCU FLASH 2KX14 EEPROM 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16F628A-E/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
For Use With
I3DBF648 - BOARD DAUGHTER ICEPIC3AC162053 - HEADER INTERFACE ICD,ICD2 18DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
PIC16F627A/628A/648A
DS40044G-page 130
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Exclusive OR Literal with W
[ label ] XORLW k
0 ≤ k ≤ 255
(W) .XOR. k → (W)
Z
11
The contents of the W register
are XOR’ed with the eight-bit
literal ‘k’. The result is placed in
the W register.
1
1
XORLW
Before Instruction
After Instruction
W = 0x1A
W = 0xB5
1010
0xAF
kkkk
kkkk
XORWF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Exclusive OR W with f
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
(W) .XOR. (f) → (dest)
Z
00
Exclusive OR the contents of the
W register with register ‘f’. If ‘d’ is
‘0’, the result is stored in the W
register. If ‘d’ is ‘1’, the result is
stored back in register ‘f’.
1
1
XORWF
Before Instruction
After Instruction
© 2009 Microchip Technology Inc.
REG1 = 0xAF
W
REG1 = 0x1A
W
XORWF
0110
REG1, 1
= 0xB5
= 0xB5
dfff
f,d
ffff

Related parts for PIC16F628A-E/SS