PIC12CE674 Datasheet

  • PIC12CE674

  • 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...

  • 1264.35KB

  • 129页

  • Microchip   Microchip

扫码查看芯片数据手册

上传产品规格书

PDF预览

PIC12CE67X
SWAPF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Swap Nibbles in f
[
label
] SWAPF f,d
0
鈮?/div>
f
鈮?/div>
127
d
鈭?/div>
[0,1]
(f<3:0>)
鈫?/div>
(dest<7:4>),
(f<7:4>)
鈫?/div>
(dest<3:0>)
None
00
XORLW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Exclusive OR Literal with W
[
label
]
XORLW k
0
鈮?/div>
k
鈮?/div>
255
(W) .XOR. k
鈫?(W)
Z
11
1010
kkkk
kkkk
The contents of the W register are
XOR鈥檈d with the eight bit literal 'k'.
The result is placed in the W regis-
ter.
1110
dfff
ffff
The upper and lower nibbles of regis-
ter 'f' are exchanged. If 'd' is 0 the
result is placed in W register. If 'd' is 1
the result is placed in register 'f'.
Words:
Cycles:
Example:
1
1
XORLW
0xAF
W
=
0xB5
Words:
Cycles:
Example
1
1
SWAPF REG,
0
Before Instruction
After Instruction
W
=
=
0xA5
0x5A
=
0x1A
Before Instruction
REG1
=
0xA5
After Instruction
REG1
W
TRIS
Syntax:
Operands:
Operation:
Encoding:
Description:
Load TRIS Register
[
label
] TRIS
5
鈮?/div>
f
鈮?/div>
7
(W)
鈫?/div>
TRIS register f;
f
XORWF
Syntax:
Operands:
Operation:
Exclusive OR W with f
[
label
] XORWF
0
鈮?/div>
f
鈮?/div>
127
d
鈭?/div>
[0,1]
(W) .XOR. (f)
鈫?(dest)
Z
00
0110
dfff
ffff
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'.
f,d
Status Affected: None
00
0000
0110
0fff
Status Affected:
Encoding:
Description:
The instruction is supported for code
compatibility with the PIC16C5X prod-
ucts. Since TRIS registers are read-
able and writable, the user can directly
address them.
Words:
Cycles:
Example
1
1
To maintain upward compatibility
with future PIC12C67X products,
do not use this instruction.
Words:
Cycles:
Example
1
1
XORWF
REG
1
Before Instruction
REG
W
=
=
0xAF
0xB5
After Instruction
REG
W
=
=
0x1A
0xB5
1998 Microchip Technology Inc.
Preliminary
DS40181B-page 73

PIC12CE674相关型号PDF文件下载

  • 型号
    版本
    描述
    厂商
    下载
  • 英文版
    8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontroller with EEPROM Data Memory
    MICROCHIP ...
  • 英文版
    8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...
    MICROCHIP ...
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP ...
  • 英文版
    8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    Microcontroller
    MICROCHIP
  • 英文版
    Microcontroller 
    Microchip
  • 英文版
    Microcontroller
    ETC
  • 英文版
    EPROM-Based 8-Bit CMOS Microcontroller
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP
  • 英文版
    8-Pin, 8-Bit CMOS Microcontrollers
    MICROCHIP ...
  • 英文版
    ETC
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP
  • 英文版
    EPROM Memory Programming Specification
    MICROCHIP ...
  • 英文版
    28-Pin Programmable Mixed Signal Controller
    Microchip
  • 英文版
    EPROM Memory Programming Specification
    Microchip
  • 英文版
    Microcontroller
    ETC
  • 英文版
    Microcontroller
    ETC
  • 英文版
    EPROM/ROM-Based 8-Bit CMOS Microcontroller Series
    MICROCHIP

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!