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

OA87C20XX-64QT データシートの表示(PDF) - Unspecified

部品番号コンポーネント説明メーカー
OA87C20XX-64QT CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver ETC1
Unspecified 
OA87C20XX-64QT Datasheet PDF : 107 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
HMS81C2012A/2020A
Example: The usage software example of Vector address for HMS81C2020A.
ORG 0FFE0H
DW NOT_USED
DW NOT_USED
DW SIO
; Serial Interface
DW BIT_TIMER ; Basic Interval Timer
DW WD_TIMER ; Watchdog Timer
DW ADC
; ADC
DW NOT_USED
DW NOT_USED
DW NOT_USED
DW NOT_USED
DW TIMER1
; Timer-1
DW TIMER0
; Timer-0
DW INT1
; Int.1
DW INT0
; Int.0
DW NOT_USED ; -
DW RESET
; Reset
ORG 0B000H
; HMS81C2020A(20K)ROM Start address
;
ORG 0D000H
; HMS81C2012A(12K)ROM Start address
;*******************************************
;
MAIN
PROGRAM
*
;*******************************************
;
RESET: DI
;Disable All Interrupts
CLRG
LDX #0
RAM_CLR: LDA #0
;RAM Clear(!0000H->!00BFH)
STA {X}+
CMPX #0C0H
BNE RAM_CLR
;
LDX #0FFH
;Stack Pointer Initialize
TXSP
;
LDM R0, #0
;Normal Port 0
LDM R0IO,#82H ;Normal Port Direction
:
:
:
LDM TDR0,#125 ;8us x 125 = 1mS
LDM TM0,#0FH ;Start Timer0, 8us at 4MHz
LDM IRQH,#0
LDM IRQL,#0
LDM IENH,#0E0H ;Enable Timer0, INT0, INT1
LDM IENL,#0
LDM IEDS,#05H ;Select falling edge detect on INT pin
LDM R0FUNC,#03H ;Set external interrupt pin(INT0, INT1)
EI
;Enable master interrupt
:
:
:
:
:
NOT_USED:NOP
RETI
SEP. 2004 Ver 2.00
27
Direct download click here

 

Share Link : 
All Rights Reserved© datasheetq.com 2015 - 2020  ] [ Privacy Policy ] [ Request Datasheet  ] [ Contact Us ]