第一范文网 - 专业文章范例文档资料分享平台

电子体温计设计1.1 - 图文

来源:用户分享 时间:2025/6/17 3:16:10 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

电子体温计设计

; 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 - 图文 的文档
电子体温计设计1.1 - 图文.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c4rqty3aot51cf865cb8o_13.html(转载请注明文章来源)
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top