Electronic Components Datasheet Search
  English  ▼

X  

FS91M68 Datasheet(PDF) 22 Page - Fortune Semiconductor Corp.

Part # FS91M68
Description  8-bit MCU with 1k program ROM
PDF  24 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.

FS91M68 Datasheet(HTML) 22 Page - Fortune Semiconductor Corp.

Back Button FS91M68 Datasheet HTML 16Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 17Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 18Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 19Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 20Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 21Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 22Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 23Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 24Page - Fortune Semiconductor Corp.  
Zoom Inzoom in Zoom Outzoom out
 22 / 24 page
background image
FS91M68
RLF
Rotate left [f] through Carry
Syntax:
RLF
f, d
0
≤ f ≤ FFh
d
∈ [0,1]
Operation:
[Destination<n+1>]
← [f<n>]
[Destination<0>]
← C
C
← [f<7>]
Flag Affected:
C, Z
Description:
C
Register f
[f] is rotated one bit to the left
through the Carry bit. 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:
RLF
OPERAND, 1
Before instruction:
C = 0
W = 88h, OPERAND = E6h
After instruction:
C = 1
W = 88h, OPERAND =
CCh
RRF
Rotate right [f] through Carry
Syntax:
RRF
f, d
0
≤ f ≤ FFh
d
∈ [0,1]
Operation:
[Destination<n-1>]
← [f<n>]
[Destination<7>]
← C
C
← [f<7>]
Flag Affected:
C
Description:
C
Register f
[f] is rotated one bit to the right
through the Carry bit. 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:
RRF
OPERAND, 0
Before instruction:
C = 0
OPERAND = 95h
After instruction:
C = 1
W = 4Ah, OPERAND = 95h
SLEEP
Oscillator stop
Syntax:
SLEEP
Operation:
CPU oscillator is stopped
Flag Affected:
PD
Description:
CPU oscillator is stopped. CPU
can be waked up by external
interrupt sources.
Cycle:
1
Example:
SLEEP
After instruction:
PD = 1
TO = 0
If WDT causes wake up, TO
= 1
Please make sure all interrupt flags are cleared
before running SLEEP; "NOP" command must
follow HALT and SLEEP commands.
SUBLW
Subtract W from literal
Syntax:
SUBLW
k
0
≤ k ≤ FFh
Operation:
[W]
← k – [W]
Flag Affected:
C, DC, Z
Description:
Subtract the content of the W
register from the eight-bit literal
"k". The result is stored in the W
register.
Cycle:
1
Example 1:
SUBLW
02H
Before instruction:
W = 01h
After instruction:
W = 01h
C = 1
Z = 0
Example 2:
SUBLW
02H
Before instruction:
W = 02h
After instruction:
W = 00h
C = 1
Z = 1
Example 3:
SUBLW
02H
Before instruction:
W = 03h
After instruction:
W = FFh
C = 0
Z = 0
SUBWF
Subtract W from f
Syntax:
SUBWF
f, d
0
≤ f ≤ FFh
d
∈ [0,1]
Operation:
[Destination]
← [f] – [W]
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:
SUBWF
OPERAND, 1
Before instruction:
OPERAND = 33h, W = 01h
After instruction:
OPERAND = 32h
C = 1
Z = 0
Example 2:
SUBWF
OPERAND, 1
Before instruction:
OPERAND = 01h, W = 01h
After instruction:
OPERAND = 00h
C = 1
Z = 1
Example 3:
SUBWF
OPERAND, 1
Before instruction:
OPERAND = 04h, W = 05h
After instruction:
OPERAND = FFh
C = 0
Z = 0
Rev. 1.3
22/24



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


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