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

X  

FS98O02B-PCE Datasheet(PDF) 44 Page - Fortune Semiconductor Corp.

Part # FS98O02B-PCE
Description  8-bit MCU with 2k program EPROM, 128-byte RAM
PDF  50 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FORTUNE [Fortune Semiconductor Corp.]
Direct Link  https://www.ic-fortune.com/eng/index.asp
Logo FORTUNE - Fortune Semiconductor Corp.

FS98O02B-PCE Datasheet(HTML) 44 Page - Fortune Semiconductor Corp.

Back Button FS98O02B-PCE Datasheet HTML 40Page - Fortune Semiconductor Corp. FS98O02B-PCE Datasheet HTML 41Page - Fortune Semiconductor Corp. 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. Next Button
Zoom Inzoom in Zoom Outzoom out
 44 / 50 page
background image
FS98O02
Rev.1.5
44/50
Flag Affected
Z
Description
AND the content of the W
register with [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:
ANDWF OPERAND,0
Before instruction:
W = 0Fh, OPERAND =
88h
After instruction:
W = 08h, OPERAND =
88h
Example 2:
ANDWF OPERAND,1
Before instruction:
W = 0Fh, OPERAND =
88h
After instruction:
W = 88h, OPERAND =
08h
BCF
Bit Clear f
Syntax
BCF
f, b
0
≤ f ≤ FFh
0
≤ b ≤ 7
Operation
[f<b>]
← 0
Flag Affected
None
Description
Bit b in [f] is reset to 0.
Cycle
1
Example:
BCF FLAG, 2
Before instruction:
FLAG = 8Dh
After instruction:
FLAG = 89h
BSF
Bit Set f
Syntax
BSF
f, b
0
≤ f ≤ FFh
0
≤ b ≤ 7
Operation
[f<b>]
← 1
Flag Affected
None
Description
Bit b in [f] is set to 1.
Cycle
1
Example:
BSF FLAG, 2
Before instruction:
FLAG = 89h
After instruction:
FLAG = 8Dh
BTFSC
Bit Test skip if Clear
Syntax
BTFSC
f, b
0
≤ f ≤ FFh
0
≤ b ≤ 7
Operation
Skip if [f<b>] = 0
Flag Affected
None
Description
If bit 'b' in [f] is 0, the next
fetched instruction is
discarded and a NOP is
executed instead making it a
two-cycle instruction.
Cycle
1, 2
Example:
Node BTFSC FLAG,
2
OP1
:
OP2
:
Before instruction:
PC = address (Node)
After instruction:
If FLAG<2> = 0
PC = address(OP2)
If FLAG<2> = 1
PC = address(OP1)
BTFSS
Bit Test skip if Set
Syntax
BTFSS
f, b
0
≤ f ≤ FFh
0
≤ b ≤ 7
Operation
Skip if [f<b>] = 1
Flag Affected
None
Description
If bit 'b' in [f] is 1, the next
fetched
instruction
is
discarded and a NOP is
executed instead making it a
two-cycle instruction.
Cycle
1, 2
Example:
Node BTFSS FLAG,
2
OP1
:
OP2
:
Before instruction:
PC = address (Node)
After instruction:
If FLAG<2> = 0
PC = address(OP1)
If FLAG<2> = 1
PC = address(OP2)
CALL
Subroutine CALL
Syntax
CALL
k
0
≤ k ≤ 1FFFh
Operation
Push Stack
[Top Stack]
← PC + 1
PC
← k
Flag Affected
None
Description
Subroutine Call. First, return
address PC + 1 is pushed
onto the stack. The
immediate address is loaded
into PC.
Cycle
2
Example:
HERE
CALL
THERE
Before instruction:
PC = address (HERE)
After instruction:
PC = address (THERE)
TOS = address (HERE +
1)
CLRF
Clear f
Syntax
CLRF
f
0
≤ f ≤ 255
Operation
[f]
← 0
Flag Affected
None



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


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