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

X  

FS9912 데이터시트(PDF) 16 Page - Fortune Semiconductor Corp.

부품명 FS9912
상세설명  8-bit MCU with 4k program ROM
PDF  34 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.

FS9912 데이터시트(HTML) 16 Page - Fortune Semiconductor Corp.

Back Button FS9912 Datasheet HTML 12Page - Fortune Semiconductor Corp. FS9912 Datasheet HTML 13Page - Fortune Semiconductor Corp. FS9912 Datasheet HTML 14Page - Fortune Semiconductor Corp. FS9912 Datasheet HTML 15Page - Fortune Semiconductor Corp. FS9912 Datasheet HTML 16Page - Fortune Semiconductor Corp. FS9912 Datasheet HTML 17Page - Fortune Semiconductor Corp. FS9912 Datasheet HTML 18Page - Fortune Semiconductor Corp. FS9912 Datasheet HTML 19Page - Fortune Semiconductor Corp. FS9912 Datasheet HTML 20Page - Fortune Semiconductor Corp. Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 34 page
background image
FS9912
Rev. 3.6
16/34
Example 2
16-bit add: {M (83h), M (82h)} = {M (83h), M (82h)} + {M (81h), M (80h)}
16-bit sub: {M (83h), M (82h)} = {M (83h), M (82h)} - {M (81h), M (80h)}
add:
MOVFW 80h
ADDWF 82h, 1
MOVFW 81h
ADDWFC83h, 1
sub:
MOVFW 80h
SUBWF 82h, 1
MOVFW 81h
SUBWFC 83h, 1
11.1.4.3
Interrupt Flag INTF and Interrupt enable register INTE
The interrupt enable register (INTE) records individual interrupt request .When Interrupt event occur and
Interrupt enable bit =1 , the interrupt flag will be set。The global interrupt enable bit (GIE) will enable CPU
interrupt procedure. When GIE=1 and any interrupt flag is set, CPU interrupt procedure would be executed.
CPU interrupt procedure executes GIE reset and CALL 0004h.
Note. When interrupt signal happened within Instruction Duty Cycle, the CPU must wait and till Instruction Duty
Cycle end of this program then produce an “Interrupt Flag” before go into next step.
11.1.5 Instruction Set
Instruction
Operation
Cylce
Flag
NOP
No operation
1
None
CLRF f
f=0
1
Z
ADDWF f, d
d=f+W
1
C, Z
INCF f, d
d=f+1
1
Z
INCFSZ f, d
d=f+1 skip if d=0
1,2
None
DECF f, d
d=f-1
1
Z
DECFSZ f, d
d=f-1 skip if d=0
1,2
None
SUBWF f, d
d=f-W
1
C, Z
COMF f, d
d=~f
1
Z
MOVWF f
f=W
1
None
MOVFW f
W=f
1
None
ADDWFC f, d
d=f+W+C
1
C, Z
ANDWF f, d
d=f&W
1
Z
IORWF f, d
d=f|W
1
Z
XORWF f, d
d=f^W
1
Z
RLF f, d
C, d [7:0]=f [7:0], C
1
C
SUBWFC f, d
d=f-W- (~C)
1
C, Z
RRF f, d
d [7:0], c=C, f [7:0]
1
C
ADDLW k
W=k+W
1
C, Z
SUBLW k
W=k-W
1
C, Z
ANDLW k
W=k&W
1
Z
IORLW k
W=k|W
1
Z
XORLW k
W=k^W
1
Z
MOVLW k
W=k
1
None
RETLW k
RETURN and W=k
2
None
CALL k
Push PC+1 and GOTO k
2
None
GOTO k
PC=k
2
None
RETFIE
Pop PC and GIE=1
2
None
RETURN
Pop PC
2
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


데이터시트 다운로드

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