📄 start4xx.a51
字号:
$NOMOD51
;------------------------------------------------------------------------------
; This file is part of the C51 Compiler package
; Copyright (c) 1988-2004 Keil Elektronik GmbH and Keil Software, Inc.
; Startup code for Dallas DS89C420/430/440/450
;------------------------------------------------------------------------------
; START4XX.A51: This code is executed after processor reset.
; You may add this file to a uVision2 project.
; *** <<< Use Configuration Wizard in Context Menu >>> ***
; To translate this file use A51 with the following invocation:
;
; AX51 START4XX.A51 MOD_CONT
;
; To link the modified STARTUP.OBJ file to your application use the following
; LX51 invocation:
;
; LX51 your object file list, START4XX.OBJ [controls]
;
;------------------------------------------------------------------------------
;
; <h>Chip Specific Options
;
; <h>ACON - Page Mode Enable and External Memory Cycle Control
; <q.7> PAGEEE: Page Mode Enable (ACON.7)
; 0 => Disable Page Mode
; 1 => Enable Page Mode
;
; <o.5..6> PAGES: Page Mode Multiplex on Port 2 & Timing Select (ACON.6, ACON.5)
; <0=> Multiplex address MSB/LSB, page hit: 1 cycle, page miss: 2 cycles
; <1=> Multiplex address MSB/LSB, page hit: 2 cycles, page miss: 4 cycles
; <2=> Multiplex address MSB/LSB, page hit: 4 cycles, page miss: 8 cycles
; <3=> Multiplex address MSB/data, page hit: 2 cycles, page miss: 4 cycles
ACONVAL EQU 0xA0
; </h>
;
; <e> PMR - Power Management Register
CLOCKADJUST EQU 1
; <o> CD: Clock Divide Control (PMR.7, PMR.6, PMR.3)
; <0x08=> x4 Mode (Crystal multiplier 4)
; <0x00=> x2 Mode (Crystal multiplier 2)
; <0x80=> Direct Mode (Crystal = clock, default)
; <0xC0=> /1024 Mode (Crystal divided by 1024)
_CKMODE EQU 0x08
; <q.2> ALEON: ALE Enable
; <i> When set this bit enables the ALE signal output during on-chip program
; <i> and data memory accesses.
; <o.0..1> DME: Data Memory Enable (PMR.0, PMR.1)
; <0=> 0000h朏FFFh External Data Memory (default)
; <1=> 0000h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -