DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

MC80F0216 データシートの表示(PDF) - MagnaChip Semiconductor

部品番号
コンポーネント説明
メーカー
MC80F0216 Datasheet PDF : 128 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
Preliminary
Example: The usage software example of Vector address for MC80F0208/16/24 .
;Interrupt Vector Table
ORG 0FFE0H
DW BIT_TIMER
DW WATCH_WDT
DW ADC
DW TIMER4
DW TIMER3
DW TIMER2
DW TIMER1
DW TIMER0
DW SIO
DW UART1
DW UART0
DW INT3
DW INT2
DW INT1
DW INT0
DW RESET
; BIT
; WDT & WT
; AD Converter
; Timer-4
; Timer-3
; Timer-2
; Timer-1
; Timer-0
; Serial Interface
; UART1 Rx/Tx
; UART0 Rx/Tx
; Ext Int.3
; Ext Int.2
; Ext Int.1
; Ext Int.0
; Reset
ORG 0A000H
; 24K bytes ROM Start address
;*******************************************
;
MAIN
PROGRAM
*
;*******************************************
RESET:
DI
;Disable All Interrupt
RAMCLEAR:
LDX #00H
;USER RAM START ADDRESS LOAD !
LDY #0
RAMCLR1:
LDA #00H
;Page0 Ram Clear(0000h ~ 00BFh)
STA
{X}+
;
CMPX #0C0H
;
BNE RAMCLR1
;
INC Y
STY !RPR
SETG
;
;Page1 Ram Select
;G-FLAG SET !
LDX
RAMCLR2:
LDA
STA
CMPX
BNE
#00H
#00H
{X}+
#00H
RAMCLR2
INC Y
CMPY #4
BCS RAMCLR3
;Page1 ~ Page3 Clear(0100h ~ 03FFh)
STY !RPR
SETG
BRA
RAMCLR2
RAMCLR3:
STY
SETG
LDA
STA
CMPX
BNE
!RPR
#00H
{X}+
#40H
RAMCLR3
;Page4 Clear(0400h ~ 043Fh)
;A <-- #0
;
CLRG
;G-FLAG CLEAR !
LDX #0FFH
TXSP
;Initial Stack Point (01FFh)
MC80F0208/16/24
MAR. 2005 Ver 0.2
25

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]