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

X  

FS98O02B-PCE 데이터시트(PDF) 49 Page - Fortune Semiconductor Corp.

부품명 FS98O02B-PCE
상세설명  8-bit MCU with 2k program EPROM, 128-byte RAM
PDF  50 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  FORTUNE [Fortune Semiconductor Corp.]
홈페이지  https://www.ic-fortune.com/eng/index.asp
Logo FORTUNE - Fortune Semiconductor Corp.

FS98O02B-PCE 데이터시트(HTML) 49 Page - Fortune Semiconductor Corp.

Back Button FS98O02B-PCE Datasheet HTML 42Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 43Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 44Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 45Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 46Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 47Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 48Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 49Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 50Page - Fortune Semiconductor Corp.  
Zoom Inzoom in Zoom Outzoom out
 49 / 50 page
background image
FS98O02
Rev.1.5
49/50
SUBWFC
Subtract W and Carry from f
Syntax
SUBWFC f, d
0
≤ f ≤ FFh
d
∈ [0,1]
Operation
[Destination]
← [f] – [W] –C
‧
Flag Affected
C, DC, Z
Description
Subtract the content of the W
register from [f]. If d is 0, the
result is stored in the W
register. If d is 1, the result is
stored back in [f].
Cycle
1
Example 1:
SUBWFC
OPERAND, 1
Before instruction:
OPERAND = 33h, W =
01h
C = 1
After instruction:
OPERAND = 32h, C = 1, Z
= 0
Example 2:
SUBWFC
OPERAND, 1
Before instruction:
OPERAND = 02h, W =
01h
C = 0
After instruction:
OPERAND = 00h, C = 1, Z
= 1
Example 3:
SUBWFC
OPERAND, 1
Before instruction:
OPERAND = 04h, W =
05h
C = 0
After instruction:
OPERAND = FEh, C = 0, Z =
0
XORLW
Exclusive OR literal with W
Syntax
XORLW
k
0
≤ k ≤ FFh
Operation
[W]
← [W] XOR k
Flag Affected
Z
Description
Exclusive OR the content of
the W register and the
eight-bit literal "k". The result
is stored in the W register.
Cycle
1
Example:
XORLW
5Fh
Before instruction:
W = ACh
After instruction:
W = F3h
XORWF
Exclusive OR W and f
Syntax
XORWF
f, d
0
≤ f ≤ FFh
d
∈ [0,1]
Operation
[Destination]
← [W] XOR [f]
Flag Affected
Z
Description
Exclusive OR the content of
the W register and [f]. If d is
0, the result is stored in the
W register. If d is 1, the
result is stored back in [f].
Cycle
1
Example:
XORWF
OPERAND, 1
Before instruction:
OPERAND = 5Fh, W =
ACh
After instruction:
OPERAND = F3h
TBLP
Exclusive Programmer EPROM
Syntax
TBLP
k
k = 32 , that is const
Operation
[EADRH,EADRL]
←EDAH,WORK
Flag Affected
None
Description
Exclusive Programmer EPROM.
EPROM Address is in EADRH
and EADRL.
Programmer Data is in EDAH and
WORK.
Cycle
(k*2)+1
Example:
TBLP
k
k is const
For FS98O01 Chip , k = 32
MOVP
Exclusive Read EPROM Data
Syntax
MOVP
k
k is increment EPROM Address
value.
Operation
[EADRH,EADRL] EDAH,WORK
Flag Affected
None
Description
Exclusive Read EPROM data.
EPROM Address is in EADRH
and EADRL. MSB and LSB
After MOVP Data Put in EDAH
and WORK. MSB and LSB
Cycle
2
Example:
MOVP
k
After instruction:
EPROM Data put in EDAH
(MSB) and WORK (LSB)
EPROM Address increment k
(EADRH,EADRL)+k



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


데이터시트 다운로드

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