Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC16HV540-04/SS Datasheet(PDF) 12 Page - Microchip Technology

Part # PIC16HV540-04/SS
Description  Enhanced PIC16C54 EPROM-Based 8-Bit CMOS Microcontroller With On-Chip Voltage Regulator
PDF  36 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16HV540-04/SS Datasheet(HTML) 12 Page - Microchip Technology

Back Button PIC16HV540-04/SS Datasheet HTML 8Page - Microchip Technology PIC16HV540-04/SS Datasheet HTML 9Page - Microchip Technology PIC16HV540-04/SS Datasheet HTML 10Page - Microchip Technology PIC16HV540-04/SS Datasheet HTML 11Page - Microchip Technology PIC16HV540-04/SS Datasheet HTML 12Page - Microchip Technology PIC16HV540-04/SS Datasheet HTML 13Page - Microchip Technology PIC16HV540-04/SS Datasheet HTML 14Page - Microchip Technology PIC16HV540-04/SS Datasheet HTML 15Page - Microchip Technology PIC16HV540-04/SS Datasheet HTML 16Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 36 page
background image
PIC16HV540
DS40197A-page 12
Preliminary
© 1998 Microchip Technology Inc.
CALL
Subroutine Call
Syntax:
[
label ] CALL k
Operands:
0
≤ k ≤ 255
Operation:
(PC) + 1
→ Top of Stack;
k
→ PC<7:0>;
(STATUS<6:5>)
→ PC<10:9>;
0
→ PC<8>
Status Affected:
None
Encoding:
1001
kkkk
kkkk
Description:
Subroutine call. First, return address
(PC+1) is pushed onto the stack. The
eight bit immediate address is loaded
into PC bits <7:0>. The upper bits
PC<10:9> are loaded from STA-
TUS<6:5>, PC<8> is cleared. CALL is
a two cycle instruction.
Words:
1
Cycles:
2
Example:
HERE
CALL
THERE
Before Instruction
PC =
address (HERE)
After Instruction
PC =
address (THERE)
TOS =
address (HERE + 1)
CLRF
Clear f
Syntax:
[
label ] CLRF
f
Operands:
0
≤ f ≤ 31
Operation:
00h
→ (f);
1
→ Z
Status Affected:
Z
Encoding:
0000
011f
ffff
Description:
The contents of register 'f' are cleared
and the Z bit is set.
Words:
1
Cycles:
1
Example:
CLRF
FLAG_REG
Before Instruction
FLAG_REG
=
0x5A
After Instruction
FLAG_REG
=
0x00
Z=
1
CLRW
Clear W
Syntax:
[
label ] CLRW
Operands:
None
Operation:
00h
→ (W);
1
→ Z
Status Affected:
Z
Encoding:
0000
0100
0000
Description:
The W register is cleared. Zero bit (Z)
is set.
Words:
1
Cycles:
1
Example:
CLRW
Before Instruction
W
=
0x5A
After Instruction
W
=
0x00
Z=
1
CLRWDT
Clear Watchdog Timer
Syntax:
[
label ] CLRWDT
Operands:
None
Operation:
00h
→ WDT;
0
→ WDT prescaler (if assigned);
1
→ TO;
1
→ PD
Status Affected:
TO, PD
Encoding:
0000
0000
0100
Description:
The CLRWDT instruction resets the
WDT. It also resets the prescaler, if the
prescaler is assigned to the WDT and
not Timer0. Status bits TO and PD are
set.
Words:
1
Cycles:
1
Example:
CLRWDT
Before Instruction
WDT counter =
?
After Instruction
WDT counter =
0x00
WDT prescale =
0
TO
=1
PD
=1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com