전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

PIC17C752 데이터시트(PDF) 196 Page - Microchip Technology

부품명 PIC17C752
상세설명  High-Performance 8-Bit CMOS EPROM Microcontrollers
PDF  320 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  MICROCHIP [Microchip Technology]
홈페이지  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC17C752 데이터시트(HTML) 196 Page - Microchip Technology

Back Button PIC17C752 Datasheet HTML 192Page - Microchip Technology PIC17C752 Datasheet HTML 193Page - Microchip Technology PIC17C752 Datasheet HTML 194Page - Microchip Technology PIC17C752 Datasheet HTML 195Page - Microchip Technology PIC17C752 Datasheet HTML 196Page - Microchip Technology PIC17C752 Datasheet HTML 197Page - Microchip Technology PIC17C752 Datasheet HTML 198Page - Microchip Technology PIC17C752 Datasheet HTML 199Page - Microchip Technology PIC17C752 Datasheet HTML 200Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 196 / 320 page
background image
PIC17C75X
DS30264A-page 196
© 1997 Microchip Technology Inc.
CPFSLT
Compare f with WREG,
skip if f < WREG
Syntax:
[
label ] CPFSLT
f
Operands:
0
≤ f ≤ 255
Operation:
(f) –
(WREG),
skip if (f) < (WREG)
(unsigned comparison)
Status Affected:
None
Encoding:
0011
0000
ffff
ffff
Description:
Compares the contents of data memory
location 'f' to the contents of WREG by
performing an unsigned subtraction.
If the contents of 'f' are less than the
contents of WREG, then the fetched
instruction is discarded and an NOP is
executed instead making this a
two-cycle instruction.
Words:
1
Cycles:
1 (2)
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
register 'f'
Process
Data
No
operation
If skip:
Q1
Q2
Q3
Q4
No
operation
No
operation
No
operation
No
operation
Example:
HERE
CPFSLT REG
NLESS
:
LESS
:
Before Instruction
PC
=
Address (HERE)
W=
?
After Instruction
If REG
<
WREG;
PC
=
Address (LESS)
If REG
≥
WREG;
PC
=
Address (NLESS)
DAW
Decimal Adjust WREG Register
Syntax:
[
label] DAW
f,s
Operands:
0
≤ f ≤ 255
s
∈ [0,1]
Operation:
If [WREG<3:0> >9] .OR. [DC = 1] then
WREG<3:0> + 6
→ f<3:0>, s<3:0>;
else
WREG<3:0>
→ f<3:0>, s<3:0>;
If [WREG<7:4> >9] .OR. [C = 1] then
WREG<7:4> + 6
→ f<7:4>, s<7:4>
else
WREG<7:4>
→ f<7:4>, s<7:4>
Status Affected:
C
Encoding:
0010
111s
ffff
ffff
Description:
DAW adjusts the eight bit value in
WREG resulting from the earlier addi-
tion of two variables (each in packed
BCD format) and produces a correct
packed BCD result.
s = 0:
Result is placed in Data
memory location 'f' and
WREG.
s = 1:
Result is placed in Data
memory location 'f'.
Words:
1
Cycles:
1
Q Cycle Activity:
Q1
Q2
Q3
Q4
Decode
Read
register 'f'
Process
Data
Write
register 'f'
and other
specified
register
Example1:
DAW
REG1, 0
Before Instruction
WREG
=
0xA5
REG1
=
??
C=
0
DC
=
0
After Instruction
WREG
=
0x05
REG1
=
0x05
C=
1
DC
=
0
Example 2:
Before Instruction
WREG
=
0xCE
REG1
=
??
C=
0
DC
=
0
After Instruction
WREG
=
0x24
REG1
=
0x24
C=
1
DC
=
0



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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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