- 1、本文档共37页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PIC24H系列单片机体系结构及外设模块讲解 主讲人:胡洲 时 间:2011-7-14 Register Introduce (1) Register Introduce (2) Software stack pointer W14 Software Stack Frame Pointer A frame is a user-defined section of memory in the stack used by a single subroutine. W14 is a special working register because it can be used as a Stack Frame Pointer with the LNK (link) and ULNK (unlink) instructions. W14 can be used in a normal working register by instructions when it is not used as a Stack Frame Pointer. Stack Pointer Overflow The stack overflow check is not enabled until a word write to SPLIM occurs, after which time it can only be disabled by a device Reset. If the contents of W15 are greater than the contents of the SPLIM register by 2, and a CALL instruction is executed or an interrupt occurs, a stack error trap is generated. SR: CPU Status Register DC: MCU ALU Half Carry/Borrow bit IPL2:0: CPU Interrupt Priority Level Status bits N: MCU ALU Negative bit OV: MCU ALU Overflow bit Z: MCU ALU Zero bit C: MCU ALU Carry/Borrow bit CORCON: Core Control Register IPL3: CPU Interrupt Priority Level Status bit PSV: Program Space Visibility in Data Space Enable bit Note 1: User interrupts are disabled when IPL3 = 1. Data Memory(1) The size of the X data space is device specific. DMA RAM is not available on all devices. Near data memory can be accessed directly via file register instructions that encode a 13-bitaddress into the opcode. All data memory can be accessed indirectly via W registers or directly using the MOV instruction. Data Memory(2) Upper half of data memory map can be mapped into a segment of program memory space for Program Space Visibility (PSV). Data Alignment Program Memory Map(1) The address boundaries for user Flash program memory will depend on the device variant selected. Program Memory Map(2) Device Configuration Registers Instruction Fetch Example Using Table instructions(1) Using Table instructions(2) Program Space Visibility Program Space Visibility Example 1 Compiler Mana
您可能关注的文档
- 第3章 综合布线.ppt
- 零售業基本概念.ppt
- 电荷与真空中的静电场.ppt
- 单元一、尺寸公差.ppt
- 2011春夏男装流行趋势(上).ppt
- 第一章第一节礼仪概述.ppt
- 电力系统应用系统方案.ppt
- 090917-翡翠沟通.ppt
- 安欣合作方案.ppt
- 三年级下册课件1 春的消息.ppt
- 2024年度党员干部民主生活会班子对照检查材料.docx
- 公司党委领导班子2024年度民主生活会对照检查材料4个带头方面.docx
- 市府办(政府办)领导班子2024年民主生活会会后综合情况报告.docx
- 在2025年市司法局信息宣传工作推进会上的讲话.docx
- 在2025年全省文化旅游高质量发展推进会上的讲话.docx
- 在2025年全区工业、住建大规模设备更新推进会上的讲话.docx
- 党支部2024年组织生活会民主评议党员情况总结报告_1.docx
- 2024年度组织生活会个人对照检查剖析材料.docx
- 镇党委书记2024年度民主生活会对照检查材料1.docx
- 党支部2024年组织生活会民主评议党员情况总结报告.docx
最近下载
- 日本日立变频器sj300系列调试参考手册.pdf
- 苏教版三年级下册含有小括号的混合运算教学设计.docx
- 施工安全管理员工培训.pptx VIP
- 禽流感课件(共23张PPT)《动物疫病防治》.pdf VIP
- 在2024年度组织生活会和民主评议党员会上的点评讲话+民主评议党员会议议程.doc VIP
- 天然苏打水标准.pdf VIP
- 理光MPC3004 3504 4504 6004SP维修手册.pdf VIP
- 部编版四年级下册语文5琥珀ppt课件设计 (3).ppt
- 第六节:隋唐统一多民族国家的发展.ppt VIP
- 兴文县2025年第一次公开考调公务员 (参照管理人员)(30人)笔试模拟试题及答案解析.docx
文档评论(0)