电子体温计设计1.1 - 图文

2026/4/23 11:16:11

电子体温计设计

; Reentrant Stack Initialization ;

; The following EQU statements define the stack pointer for reentrant ; functions and initialized it: ;

; Stack Space for reentrant functions in the SMALL model. ; 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: End address of SMALL model stack <0x0-0xFF> ; Set the top of the stack to the highest location.

IBPSTACKTOP EQU 0xFF +1 ; default 0FFH+1 ; ;

; Stack Space for reentrant functions in the LARGE model. ; 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: End address of LARGE model stack <0x0-0xFFFF> ; Set the top of the stack to the highest location.

XBPSTACKTOP EQU 0xFFFF +1 ; default 0FFFFH+1 ; ;

; Stack Space for reentrant functions in the COMPACT model. ; 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: End address of COMPACT model stack <0x0-0xFFFF> ; Set the top of the stack to the highest location.

PBPSTACKTOP EQU 0xFF +1 ; default 0FFH+1 ; ;

;------------------------------------------------------------------------------ ;

; Memory Page for Using the Compact Model with 64 KByte xdata RAM ; Compact Model Page Definition

-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. ;

; PPAGE number <0x0-0xFF>

; uppermost 256-byte address of the page used for PDATA variables. PPAGE EQU 0 ;

; SFR address which supplies uppermost address byte <0x0-0xFF> ; most 8051 variants use P2 as uppermost address byte PPAGE_SFR DATA 0A0H ;

;

;------------------------------------------------------------------------------

; 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-


电子体温计设计1.1 - 图文.doc 将本文的Word文档下载到电脑
搜索更多关于: 电子体温计设计1.1 - 图文 的文档

Copyright © 2021-2025 云题海 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:370150219 邮箱:370150219@qq.com
苏ICP备16052595号-3

× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219