Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

FS9912 Scheda tecnica(PDF) 15 Page - Fortune Semiconductor Corp.

Il numero della parte FS9912
Spiegazioni elettronici  8-bit MCU with 4k program ROM
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  FORTUNE [Fortune Semiconductor Corp.]
Homepage  https://www.ic-fortune.com/eng/index.asp
Logo FORTUNE - Fortune Semiconductor Corp.

FS9912 Scheda tecnica(HTML) 15 Page - Fortune Semiconductor Corp.

Back Button FS9912 Datasheet HTML 11Page - Fortune Semiconductor Corp. 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. Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 34 page
background image
FS9912
Rev. 3.6
15/34
11.1.3 Data Memory Organization
The data memory is partitioned into three parts. The address 00h~07h areas are system special registers, like
indirect address, indirect address pointer, status register, working register, interrupt flag, interrupt control
register. The address 08h~7Fh areas are peripheral special registers, like I/O ports, timer, ADC, signal
conditional network control register, LCD driver… .The address 80h~FFh areas are general data memory.
IND0, IND1: indirect addressing mode address
FSR0, FSR1: indirect addressing mode point
PD: Power Down Flag. Cleared by writing 0 or power-on reset. Set by sleep instruction
TO: Watch Dog Time Out Flag. Cleared by writing 0 or power-on reset. Set by Watch Dog Time Out
C: Carry Flag
Z: Zero Flag
E0IF, E0IE: PT1.0 external interrupt flag and enable.
E1IF, E1IE: PT1.1 external interrupt flag and enable.
ADIF, ADIE: Analog to digital converter interrupt flag and enable.
PCIF, PCIE: Program counter interrupt flag and enable.
TMIF, TMIE: 8-bit Timer interrupt flag and enable.
GIE: Global interrupt enable.
11.1.4 System Special Register Description
11.1.4.1
Indirect Addressing IND0 and FSR0 Register
The IND0 register is not a physical register. Addressing the IND0 (00h) will cause an indirect addressing. Any
instruction using the IND0 register actually accesses data pointed to by the FSR0 register.
A simple program to clear RAM 80h-FFh using indirect addressing is shown in following:
MOVLW 080h
MOVWF FSR0
NEXT: CLRF IND0
INCFSZ FSR0, 1
GOTO NEXT
11.1.4.2
Status Register
C: bit 1 R/W Carry Flag or (~Borrow).
Z: bit 0 R/W Zero Flag, set if ALU operation is zero. Reset otherwise.
Two simple examples to illustrate the relation between carry flag and arithmetic instructions.
Example 1
M (80h) = 3Fh M (81h) = F0h WORK = 99h
ADDWF 80h, 1
; 3Fh+99h=D8h DC=1, C=0, Z=0
ADDWF 81h, 1
; F0h+99h=89h DC=0, C=1, Z=0
SUBWF 80h, 1
; 3Fh-99h=A6hDC=1, C=0, Z=0
SUBWF 81h, 1
; F0h-99h=57h DC=0, C=1, Z=0
Name
Address
Content
IND0
00h
Uses contents of FSR0 to address data memory
IND1
01h
Uses contents of FSR1 to address data memory
FSR0
02h
Indirect data memory, address point 0
FSR1
03h
Indirect data memory, address point 1
STATUS 04h
PD
TO
C
Z
WORK
05h
WORK register
INTF
06h
TMIF
PCIF
ADIF
E1IF
E0IF
INTE
07h
GIE
TMIE
PCIE
ADIE
E1IE
E0IE
08h~7Fh
Peripheral special registers
80h~FFh
General data Memory



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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