云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > 电子体温计设计1.1 - 图文

电子体温计设计1.1 - 图文

  • 62 次阅读
  • 3 次下载
  • 2025/7/6 17:22:37

电子体温计设计

; 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 - 图文 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

电子体温计设计 ; 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

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com