w78e516b Winbond Electronics Corp America, w78e516b Datasheet - Page 33

no-image

w78e516b

Manufacturer Part Number
w78e516b
Description
8-bit Microcontroller
Manufacturer
Winbond Electronics Corp America
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
w78e516b-24
Quantity:
5 530
Part Number:
w78e516b-24
Manufacturer:
WINBOND
Quantity:
5 120
Part Number:
w78e516b-24
Manufacturer:
SAM
Quantity:
2 000
Part Number:
w78e516b-24
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Part Number:
w78e516b-40
Manufacturer:
WINBOND
Quantity:
4 130
Part Number:
w78e516b-40
Manufacturer:
WINBOND
Quantity:
4 130
Part Number:
w78e516b-40
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Part Number:
w78e516b40
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Part Number:
w78e516b40DL
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Part Number:
w78e516b40FL
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
w78e516b40PL
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
w78e516b40PL
Manufacturer:
WINBOND/华邦
Quantity:
20 000
;********************************************************************************
;* Normal mode 64KB APROM program: depending user's application
;********************************************************************************
NORMAL_MODE:
EXAMPLE 2:
;*****************************************************************************************************************************
Example of 4KB LDROM program: This lorder program will erase the 64KB APROM first, then reads the new ;*
code from external SRAM and program them into 64KB APROM bank. XTAL = 40 MHz
;*****************************************************************************************************************************
;************************************************************************
;************************************************************************
;* 1. TIMER0 SERVICE VECTOR ORG = 0BH
;************************************************************************
;* 4KB LDROM MAIN PROGRAM
;************************************************************************
.chip 8052
.RAMCHK OFF
.symbols
CHPCON
CHPENR
SFRAL
SFRAH
SFRFD
SFRCN
ORG 100H
MOV IP, #00H
MOV IE, #82H
MOV R6, #F0H
MOV R7, #FFH
MOV TL0, R6
MOV TH0, R7
MOV TMOD, #01H
MOV TCON, #10H
MOV PCON, #01H
ORG
LJMP
ORG 000BH
CLR TR0
MOV TL0, R6
MOV TH0, R7
RETI
.
.
.
.
000H
100H
EQU
EQU
EQU
EQU
EQU
EQU
C5H
BFH
F6H
C4H
C6H
C7H
; JUMP TO MAIN PROGRAM
; TR0 = 0, STOP TIMER0
; User's application program
; IP = 00H
; TIMER0 INTERRUPT ENABLE FOR WAKE-UP FROM IDLE MODE
; TL0 = F0H
; TCON = 10H, TR0 = 1,GO
; ENTER IDLE MODE FOR LAUNCHING THE IN-SYSTEM
; PROGRAMMABILITY
; TH0 = FFH
; TMOD = 01H, SET TIMER0 A 16-BIT TIMER
- 33 -
Publication Release Date: April 22, 2008
W78E516B
Revision A12
;*

Related parts for w78e516b