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

W77E516 查看數據表(PDF) - Winbond

零件编号
产品描述 (功能)
生产厂家
W77E516
Winbond
Winbond Winbond
W77E516 Datasheet PDF : 85 Pages
First Prev 81 82 83 84 85
Preliminary W77E516
MOV SFRCN,#30H
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
TCON,#00H
IP, #00H
IE, #82H
R6, #F0H
R7, #FFH
TL0, R6
TH0, R7
TMOD, #01H
TCON, #10H
PCON, #01H
; TR = 0 TIMER0 STOP
; IP = 00H
; TIMER0 INTERRUPT ENABLE FOR WAKE-UP FROM IDLE MODE
; TL0 = F0H
; TH0 = FFH
; TMOD = 01H, SET TIMER0 A 16-BIT TIMER
; TCON = 10H, TR0 = 1,GO
; ENTER IDLE MODE FOR LAUNCHING THE IN-SYSTEM PROGRAMMING
;************** ******************************************************************
;* Normal mode 64KB APROM program: depending user's application
;********************************************************************************
NORMAL_MODE:
.
; User's application program
.
.
.
EXAMPLE 2:
;***************************************************************************************************************************** ;*
Example of 4KB LDROM program: This loader program will erase the 64KB APROM first, then reads the new ;*
code from external SRAM and program them into 64KB APROM bank. XTAL = 24 MHz
;*****************************************************************************************************************************
.chip 8052
.RAMCHK OFF
.symbols
CHPCON
TA
SFRAL
SFRAH
SFRFD
SFRCN
EQU
EQU
EQU
EQU
EQU
EQU
9FH
C7H
ACH
ADH
AEH
AFH
ORG 000H
LJMP 100H
; JUMP TO MAIN PROGRAM
;************************************************************************
;* 1. TIMER0 SERVICE VECTOR ORG = 0BH
;************************************************************************
ORG 000BH
CLR
TR0
; TR0 = 0, STOP TIMER0
MOV TL0, R6
MOV TH0, R7
RETI
;************************************************************************
;* 4KB LDROM MAIN PROGRAM
;************************************************************************
ORG 100H
MAIN_4K:
- 82 -

Share Link: 

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