W78E516B-24 Winbond, W78E516B-24 Datasheet - Page 23

no-image

W78E516B-24

Manufacturer Part Number
W78E516B-24
Description
8-BIT MICROCONTROLLER
Manufacturer
Winbond
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
;********************************************************************************
;* 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 R7,#FFH
MOV TL0,R6
MOV TH0,R7
MOV TMOD,#01H
MOV TCON,#10H
MOV PCON,#01H
ORG
LJMP 100H
ORG 000BH
CLR TR0
MOV TL0,R6
MOV TH0,R7
RETI
.
.
.
.
000H
EQU
EQU
EQU
EQU
EQU
EQU
C5H
BFH
F6H
C4H
C6H
C7H
; JUMP TO MAIN PROGRAM
; TR0 = 0, STOP TIMER0
; TH0 = FFH
; TMOD = 01H, SET TIMER0 A 16-BIT TIMER
; TCON = 10H, TR0 = 1,GO
; ENTER IDLE MODE FOR LAUNCHING THE IN-SYSTEM
; PROGRAMMABILITY
; User's application program
- 23 -
Publication Release Date: February 2000
W78E516B
Revision A3

Related parts for W78E516B-24