Electronic Components Datasheet Search
  English  ▼

X  

FS91M68 Datasheet(PDF) 16 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) 16 Page - Fortune Semiconductor Corp.

Back Button FS91M68 Datasheet HTML 12Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 13Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 14Page - Fortune Semiconductor Corp. FS91M68 Datasheet HTML 15Page - Fortune Semiconductor Corp. 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. Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 24 page
background image
FS91M68
Rev. 1.3
16/24
11. Instruction Set
The FS91M68 instruction set consists of 36 instructions. Each instruction is a 16-bit word with an
OPCODE and one or more operands. The detail descriptions are below.
Note: FS91M68 does not have HALT instruction to avoid the system error occurrence when fast
releasing and plugging-in the battery repeatedly.
Instruction Set Summary
Table 11-1: FS91M68 Instruction Set
Instruction
Operation
Cycle=Fsys/4
Flag
ADDLW k
[W]
← [W] + k
1
C, DC, Z
ADDPCW
[PC]
← [PC] + 1 + [W]
2
None
ADDWF f, d
[Destination]
← [f] + [W]
1
C, DC, Z
ADDWFC f, d
[Destination]
← [f] + [W] + C
1
C, DC, Z
ANDLW k
[W]
← [W] AND k
1
Z
ANDWF f, d
[Destination]
← [W] AND [f]
1
Z
BCF f, b
[f<b>]
← 0
1
None
BSF f, b
[f<b>]
← 1
1
None
BTFSC f, b
Skip if [f<b>] = 0
1, 2
None
BTFSS f, b
Skip if [f<b>] = 1
1, 2
None
CALL k
Push PC + 1 and GOTO k
2
None
CLRF f
[f]
← 0
1
Z
CLRWDT
Clear watch dog timer
1
None
COMF f, d
[f]
← NOT([f])
1
Z
DECF f, d
[Destination]
← [f] -1
1
Z
DECFSZ f, d
[Destination]
← [f] -1, skip if the result is zero
1, 2
None
GOTO k
PC
← k
2
None
INCF f, d
[Destination]
← [f] +1
1
Z
INCFSZ f, d
[Destination]
← [f] + 1, skip if the result is zero
1, 2
None
IORLW k
[W]
← [W] | k
1
Z
IORWF f, d
[Destination]
← [W] | [f]
1
Z
MOVFW f
[W]
← [f]
1
None
MOVLW k
[W]
← k
1
None
MOVWF f
[f]
← [W]
1
None
NOP
No operation
1
None
RETFIE
Pop PC and GIE = 1
2
None
RETLW k
RETURN and W = k
2
None
RETURN
Pop PC
2
None
RLF f, d
[Destination<n+1>]
← [f<n>]
1
C,Z
RRF f, d
[Destination<n-1>]
← [f<n>]
1
C, Z
SLEEP
Stop OSC
1
PD
SUBLW k
[W]
← k – [W]
1
C, DC, Z
SUBWF f, d
[Destination]
← [f] – [W]
1
C, DC, Z
SUBWFC f, d
[Destination]
← [f] – [W] –C
1
C, DC, Z
XORLW k
[W]
← [W] XOR k
1
Z
XORWF f, d
[Destination]
← [W] XOR [f]
1
Z
Note:
f:memory address (00h ~ 7Fh).
w:work register.
k:literal field, constant data or label.
d:destination select: d=0 store result in W,
d=1: store result in memory address f.
b:bit select (0~7).
[f]:the content of memory address f.
PC:program counter.
C:Carry flag
DC:Digit carry flag
Z:Zero flag
TO:watchdog time out flag
WDT:watchdog timer counter



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