电子体温计设计
;
; The following EQU statements define the stack pointer for reentrant ; functions and initialized it: ;
; IBPSTACK: Enable SMALL model reentrant stack
; Stack space for reentrant functions in the SMALL model.
IBPSTACK EQU 0 ; set to 1 if small reentrant is used. ;
IBPSTACKTOP EQU 0xFF +1 ; default 0FFH+1 ; ;
; XBPSTACK: Enable LARGE model reentrant stack
; Stack space for reentrant functions in the LARGE model.
XBPSTACK EQU 0 ; set to 1 if large reentrant is used. ;
XBPSTACKTOP EQU 0xFFFF +1 ; default 0FFFFH+1 ; ;
; PBPSTACK: Enable COMPACT model reentrant stack
; Stack space for reentrant functions in the COMPACT model.
PBPSTACK EQU 0 ; set to 1 if compact reentrant is used. ;
;
PBPSTACKTOP EQU 0xFF +1 ; default 0FFH+1 ; ;
;------------------------------------------------------------------------------ ;
; Memory Page for Using the Compact Model with 64 KByte xdata RAM ;
-44-
电子体温计设计
;
; Define the XDATA page used for PDATA variables.
; PPAGE must conform with the PPAGE set in the linker invocation. ;
; Enable pdata memory page initalization
PPAGEENABLE EQU 0 ; set to 1 if pdata object are used. ;
;
; uppermost 256-byte address of the page used for PDATA variables. PPAGE EQU 0 ;
;
;
;------------------------------------------------------------------------------
; Standard SFR Symbols ACC DATA 0E0H B DATA 0F0H SP DATA 81H DPL DATA 82H DPH DATA 83H
NAME ?C_STARTUP
?C_C51STARTUP SEGMENT CODE ?STACK SEGMENT IDATA
RSEG ?STACK DS 1
EXTRN CODE (?C_START) PUBLIC ?C_STARTUP
-45-
相关推荐: